Use custom entitlements for frameworks/libs
This commit is contained in:
parent
3abacb25ce
commit
cc525c249d
5 changed files with 25 additions and 4 deletions
12
build/entitlements.mac.inherit.plist
Normal file
12
build/entitlements.mac.inherit.plist
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<!-- Copyright 2019 Signal Messenger, LLC -->
|
||||||
|
<!-- SPDX-License-Identifier: AGPL-3.0-only -->
|
||||||
|
|
||||||
|
<?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>
|
||||||
|
<!-- https://github.com/electron/electron-notarize#prerequisites -->
|
||||||
|
<key>com.apple.security.cs.allow-jit</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -7,8 +7,6 @@
|
||||||
<dict>
|
<dict>
|
||||||
<key>com.apple.security.cs.allow-jit</key>
|
<key>com.apple.security.cs.allow-jit</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
|
||||||
<true/>
|
|
||||||
<key>com.apple.security.device.audio-input</key>
|
<key>com.apple.security.device.audio-input</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.device.microphone</key>
|
<key>com.apple.security.device.microphone</key>
|
||||||
|
|
12
build/entitlements.mas.inherit.plist
Normal file
12
build/entitlements.mas.inherit.plist
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<!-- Copyright 2019 Signal Messenger, LLC -->
|
||||||
|
<!-- SPDX-License-Identifier: AGPL-3.0-only -->
|
||||||
|
|
||||||
|
<?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>
|
||||||
|
<!-- https://github.com/electron/electron-notarize#prerequisites -->
|
||||||
|
<key>com.apple.security.cs.allow-jit</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -9,8 +9,6 @@
|
||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.cs.allow-jit</key>
|
<key>com.apple.security.cs.allow-jit</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
|
||||||
<true/>
|
|
||||||
<key>com.apple.security.device.audio-input</key>
|
<key>com.apple.security.device.audio-input</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.device.microphone</key>
|
<key>com.apple.security.device.microphone</key>
|
||||||
|
|
|
@ -326,6 +326,7 @@
|
||||||
"darkModeSupport": true,
|
"darkModeSupport": true,
|
||||||
"hardenedRuntime": true,
|
"hardenedRuntime": true,
|
||||||
"entitlements": "./build/entitlements.mac.plist",
|
"entitlements": "./build/entitlements.mac.plist",
|
||||||
|
"entitlementsInherit": "./build/entitlements.mac.inherit.plist",
|
||||||
"icon": "build/icons/mac/icon.icns",
|
"icon": "build/icons/mac/icon.icns",
|
||||||
"publish": [
|
"publish": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue