Skip to content

Commit 5add8fc

Browse files
committed
Code signing on macOS.
1 parent e265d12 commit 5add8fc

File tree

5 files changed

+594
-663
lines changed

5 files changed

+594
-663
lines changed

build/entitlements.mac.plist

Lines changed: 0 additions & 10 deletions
This file was deleted.

build/notarize.cjs

Lines changed: 0 additions & 22 deletions
This file was deleted.

electron-builder.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
appId: ws.opencor.app
22
productName: OpenCOR
3-
afterSign: build/notarize.cjs
43
win:
54
artifactName: ${productName}-${version}-Windows.${ext}
65
target:
@@ -17,11 +16,11 @@ linux:
1716
- deb
1817
- tar.gz
1918
mac:
19+
# For notarisation to work, we must specify the following environment variables:
20+
# - APPLE_ID (the email used to login to https://account.apple.com/);
21+
# - APPLE_APP_SPECIFIC_PASSWORD (generated using the App-Specific Passwords tool at https://account.apple.com/account/manage); and
22+
# - APPLE_TEAM_ID (it can be retrieved from https://developer.apple.com/account/resources/certificates/list; see top right).
2023
artifactName: ${productName}-${version}-macOS-${arch}.${ext}
21-
entitlements: build/entitlements.mac.plist
22-
entitlementsInherit: build/entitlements.mac.plist
23-
gatekeeperAssess: false
24-
hardenedRuntime: true
2524
target:
2625
- dmg
2726
- pkg

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"primevue": "^4.1.0"
4949
},
5050
"devDependencies": {
51-
"@electron/notarize": "^2.5.0",
5251
"@electron-toolkit/eslint-config": "^1.0.2",
5352
"@electron-toolkit/eslint-config-ts": "^2.0.0",
5453
"@electron-toolkit/tsconfig": "^1.0.1",

0 commit comments

Comments
 (0)