Skip to content

Commit aecaf96

Browse files
committed
Add macOS entitlements for ad-hoc signing
1 parent d3806df commit aecaf96

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

electron-builder.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
],
1313
"mac": {
1414
"identity": null,
15+
"entitlements": "entitlements.mac.plist",
16+
"entitlementsInherit": "entitlements.mac.plist",
17+
"hardenedRuntime": true,
1518
"category": "public.app-category.productivity",
1619
"artifactName": "${productName}-mac-${arch}.${ext}",
1720
"target": [

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.disable-library-validation</key>
10+
<true/>
11+
</dict>
12+
</plist>

0 commit comments

Comments
 (0)