From 35b748c46c57e553b526ae4b106270f752b4acf3 Mon Sep 17 00:00:00 2001 From: rejbasket <39080670+rejbasket@users.noreply.github.com> Date: Mon, 18 Apr 2022 10:59:42 +0200 Subject: Pkg inkscape check (#1622) * add warning if Inkscape not installed (mac) enable local build with arm linux and mac Authored-by: rejbasket --- electron/package.json | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'electron') 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", -- cgit v1.2.3