Skip to content

Commit 2b9bbe4

Browse files
parthmodi152claude
andcommitted
Fix notarize config: use boolean for electron-builder v26
v26 expects notarize: true (not object), reads credentials from APPLE_ID + APPLE_APP_SPECIFIC_PASSWORD + APPLE_TEAM_ID env vars. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8dd3239 commit 2b9bbe4

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

app/build/entitlements.mac.plist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.cs.allow-jit</key>
6+
<true/>
7+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
8+
<true/>
9+
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
10+
<true/>
11+
</dict>
12+
</plist>

app/electron-builder.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ mac:
1717
- dmg
1818
- zip
1919
artifactName: ${name}-${version}-${arch}.${ext}
20-
identity: "Parth Modi (ZX45R8X47A)"
21-
notarize:
22-
teamId: ZX45R8X47A
20+
hardenedRuntime: true
21+
gatekeeperAssess: false
22+
entitlements: build/entitlements.mac.plist
23+
entitlementsInherit: build/entitlements.mac.plist
24+
notarize: true
2325
win:
2426
target:
2527
- nsis

0 commit comments

Comments
 (0)