Add Mac Signing
This commit is contained in:
26
package.json
26
package.json
@@ -59,6 +59,7 @@
|
||||
"pack": "electron-builder --dir",
|
||||
"dist": "npm run build && electron-builder",
|
||||
"distp": "npm run build && electron-builder --publish always",
|
||||
"distnopublish": "npm run build && electron-builder --publish never",
|
||||
"distpnb": "lectron-builder --publish always",
|
||||
"postinstall": "electron-builder install-app-deps",
|
||||
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org imex --project rps ./build && sentry-cli sourcemaps upload --org imex --project rps ./build"
|
||||
@@ -113,15 +114,32 @@
|
||||
"target": "nsis",
|
||||
"icon": "src/icons/win/icon.ico"
|
||||
},
|
||||
"mac": {
|
||||
"category": "public.app-category.business",
|
||||
"target": [
|
||||
{
|
||||
"target": "default",
|
||||
"arch": [
|
||||
"universal"
|
||||
]
|
||||
}
|
||||
],
|
||||
"artifactName": "${productName}.${ext}",
|
||||
"type": "distribution",
|
||||
"hardenedRuntime": true,
|
||||
"entitlements": "assets/entitlements.mac.plist",
|
||||
"entitlementsInherit": "assets/entitlements.mac.plist",
|
||||
"gatekeeperAssess": false
|
||||
},
|
||||
"dmg": {
|
||||
"contents": [
|
||||
{
|
||||
"x": 110,
|
||||
"y": 150
|
||||
"x": 130,
|
||||
"y": 220
|
||||
},
|
||||
{
|
||||
"x": 240,
|
||||
"y": 150,
|
||||
"x": 410,
|
||||
"y": 220,
|
||||
"type": "link",
|
||||
"path": "/Applications"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user