Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

chore(desktop): support apple silicon

thecodrrfa75a2f9e4f4
diff --git a/apps/web/desktop/package.json b/apps/web/desktop/package.json
index 5d1dc7618..97deec57c 100644
--- a/apps/web/desktop/package.json
+++ b/apps/web/desktop/package.json
@@ -37,7 +37,7 @@
"appId": "com.streetwriters.notesnook",
"productName": "Notesnook",
"copyright": "Copyright © 2021 Streetwriters (Private) Ltd.",
- "artifactName": "notesnook.${ext}",
+ "artifactName": "notesnook_${arch}.${ext}",
"files": [
"!*.chunk.js.map",
"!*.chunk.js.LICENSE.txt",
@@ -68,8 +68,20 @@
"afterPack": "./scripts/removeLocales.js",
"mac": {
"target": [
- "dmg",
- "zip"
+ {
+ "target": "dmg",
+ "arch": [
+ "arm64",
+ "x64"
+ ]
+ },
+ {
+ "target": "zip",
+ "arch": [
+ "arm64",
+ "x64"
+ ]
+ }
],
"category": "public.app-category.productivity",
"darkModeSupport": true,