diff options
| author | rejbasket <39080670+rejbasket@users.noreply.github.com> | 2022-04-18 10:59:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-18 10:59:42 +0200 |
| commit | 35b748c46c57e553b526ae4b106270f752b4acf3 (patch) | |
| tree | 0fd872917bf26109b40b58edc8472d294c62f249 /electron | |
| parent | a53d4aa229d31b1d261b99f39905eee8f37342d8 (diff) | |
Pkg inkscape check (#1622)
* add warning if Inkscape not installed (mac)
enable local build with arm linux and mac
Authored-by: rejbasket <rejbasket@users.noreply.github.com>
Diffstat (limited to 'electron')
| -rw-r--r-- | electron/package.json | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/electron/package.json b/electron/package.json index 5c905c63..43b785bb 100644 --- a/electron/package.json +++ b/electron/package.json @@ -20,7 +20,14 @@ ], "linux": { "icon": "build/icons", - "target": "dir" + "target": [ + { + "target": "dir", + "arch": [ + "CPU_ARCH" + ] + } + ] }, "win": { "icon": "build/icons/win/inkstitch.ico", @@ -28,7 +35,14 @@ }, "mac": { "icon": "build/icons/mac/inkstitch.icns", - "target": "dir", + "target": [ + { + "target": "dir", + "arch": [ + "CPU_ARCH" + ] + } + ], "hardenedRuntime": true, "gatekeeperAssess": false, "entitlements": "build/electron-entitlements.plist", @@ -47,7 +61,6 @@ "@svgdotjs/svg.js": "^3.0.16", "@svgdotjs/svg.panzoom.js": "https://github.com/inkstitch/svg.panzoom.js", "axios": "^0.19.0", - "electron-compile": "^6.4.4", "lodash.throttle": "^4.1.1", "mousetrap": "^1.6.3", "query-string": "^6.8.2", @@ -80,11 +93,10 @@ "del": "^3.0.0", "devtron": "^1.4.0", "easygettext": "^2.7.0", - "electron": "4.1.3", + "electron": "11.2.0", "electron-builder": "22.8.0", - "electron-debug": "^1.5.0", - "electron-devtools-installer": "^2.2.4", - "electron-prebuilt-compile": "4.0.0", + "electron-debug": "^3.0.0", + "electron-devtools-installer": "^3.2.0", "eslint": "^4.19.1", "eslint-config-standard": "^11.0.0", "eslint-friendly-formatter": "^4.0.1", |
