Skip to content

Commit

Permalink
fix: avoid error in m1
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed May 3, 2024
1 parent ecab33b commit 5d0f35b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions build/entitlements.mac.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<key>com.apple.security.cs.allow-jit</key>
<true/>
</dict>
</plist>
2 changes: 2 additions & 0 deletions electron-builder.json5
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
],
"mac": {
"artifactName": "${productName}-${version}.${ext}",
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"target": [
"default"
]
Expand Down

0 comments on commit 5d0f35b

Please sign in to comment.