Skip to content

Commit

Permalink
JIT entitlement is required on Apple Silicon, otherwise NWJS won't st…
Browse files Browse the repository at this point in the history
…art.

See nwjs/nw.js#8086
  • Loading branch information
dpage committed Aug 10, 2023
1 parent e06d39b commit 7fcfea2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/mac/entitlements.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@
<string>%TEAMID%.org.pgadmin.pgadmin4</string>

<!--
We have no need for JIT.
We have no need for JIT on x86_64, but NWJS won't start without it
on Apple Silicon.
-->
<key>com.apple.security.cs.allow-jit</key>
<false/>
<true/>

<!--
Explicitly disallow executable code overwriting/patching.
Expand Down Expand Up @@ -61,4 +62,4 @@
<key>com.apple.security.cs.debugger</key>
<false/>
</dict>
</plist>
</plist>

0 comments on commit 7fcfea2

Please sign in to comment.