electron osx build improvements: add notarize support, move build assets to build, add osx security entitlements
This commit is contained in:
+10
-6
@@ -20,6 +20,7 @@
|
||||
"css-loader": "^3.5.3",
|
||||
"electron": "^9.0.0",
|
||||
"electron-builder": "^22.6.1",
|
||||
"electron-notarize": "^0.3.0",
|
||||
"mini-css-extract-plugin": "^0.9.0",
|
||||
"node-sass": "^4.14.0",
|
||||
"raw-loader": "^4.0.1",
|
||||
@@ -41,9 +42,10 @@
|
||||
"build-electron": "yarn run build && yarn run pack"
|
||||
},
|
||||
"build": {
|
||||
"afterSign": "notarize.js",
|
||||
"productName": "ReplayWeb.page",
|
||||
"asar": true,
|
||||
"appId": "org.webrecorder.page.replayweb",
|
||||
"appId": "net.webrecorder.replaywebpage",
|
||||
"artifactName": "${name}-${version}.${ext}",
|
||||
"files": [
|
||||
"!**/node_modules/**/*",
|
||||
@@ -55,12 +57,14 @@
|
||||
"extraResources": [
|
||||
"plugins"
|
||||
],
|
||||
"dmg": {
|
||||
"icon": "assets/icon.icns"
|
||||
},
|
||||
"dmg": {},
|
||||
"mac": {
|
||||
"category": "public.app-category.utilities",
|
||||
"target": "dmg"
|
||||
"target": "dmg",
|
||||
"hardenedRuntime": true,
|
||||
"gatekeeperAssess": false,
|
||||
"entitlements": "build/entitlements.mac.plist",
|
||||
"entitlementsInherit": "build/entitlements.mac.plist"
|
||||
},
|
||||
"linux": {
|
||||
"category": "Archiving;Utility;",
|
||||
@@ -72,7 +76,7 @@
|
||||
"target": "portable"
|
||||
},
|
||||
"directories": {
|
||||
"buildResources": "assets",
|
||||
"buildResources": "build",
|
||||
"output": "dist"
|
||||
},
|
||||
"fileAssociations": [
|
||||
|
||||
Reference in New Issue
Block a user