Skip to content

Commit

Permalink
fix: add mac entitlements
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Apr 13, 2022
1 parent fb30cc7 commit 95f60de
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
26 changes: 26 additions & 0 deletions entitlements.mac.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!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-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.debugger</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.inherit</key>
<true/>
<key>com.apple.security.automation.apple-events</key>
<true/>
</dict>
</plist>
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"productName": "Companion Satellite",
"appId": "remote.companion.bitfocus.no",
"remoteBuild": false,
"afterSign": "tools/notarize.js",
"afterSign": "tools/notarize.js",
"directories": {
"buildResources": "assets/",
"output": "electron-output/"
Expand All @@ -90,7 +90,11 @@
"extendInfo": {
"LSBackgroundOnly": 1,
"LSUIElement": 1
}
},
"hardenedRuntime": "true",
"gatekeeperAssess": "false",
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist"
},
"dmg": {
"artifactName": "companion-satellite-${arch}.dmg",
Expand Down

0 comments on commit 95f60de

Please sign in to comment.