Skip to content

Commit 7ed3c8e

Browse files
authored
fix: update mac entitlements to prevent macos crash electron@20+ (#933)
1 parent 4e4cc53 commit 7ed3c8e

File tree

3 files changed

+129
-189
lines changed

3 files changed

+129
-189
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4+
<!-- As per https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/templates/entitlements.mac.plist -->
45
<dict>
6+
<!-- https://github.com/electron/electron-notarize#prerequisites -->
7+
<key>com.apple.security.cs.allow-jit</key>
8+
<true/>
59
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
610
<true/>
11+
<!-- https://github.com/electron-userland/electron-builder/issues/3940 -->
12+
<key>com.apple.security.cs.disable-library-validation</key>
13+
<true/>
714
</dict>
815
</plist>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
"@types/react-transition-group": "4.4.10",
131131
"autoprefixer": "10.4.19",
132132
"css-loader": "6.10.0",
133-
"electron": "19.1.9",
133+
"electron": "29.1.5",
134134
"electron-builder": "24.13.3",
135135
"husky": "9.0.11",
136136
"jest": "29.7.0",

0 commit comments

Comments
 (0)