diff --git a/assets/entitlements.mac.plist b/assets/entitlements.mac.plist new file mode 100644 index 0000000..0b2a95c --- /dev/null +++ b/assets/entitlements.mac.plist @@ -0,0 +1,25 @@ + + + + + + com.apple.security.cs.allow-jit + + + + com.apple.security.cs.allow-unsigned-executable-memory + + + + com.apple.security.network.client + + + + + + + + + \ No newline at end of file diff --git a/certificate.p12 b/certificate.p12 new file mode 100644 index 0000000..47c444c Binary files /dev/null and b/certificate.p12 differ diff --git a/package.json b/package.json index 78ee4f3..d32e5b3 100644 --- a/package.json +++ b/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" }