Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-11-04 13:28:14 +00:00
parent 9bb4eb5f60
commit 7dedd7c7ff
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
3 changed files with 35 additions and 4 deletions

View File

@ -0,0 +1,33 @@
<?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/>
<!-- https://github.com/electron-userland/electron-builder/issues/3940 -->
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<!-- Enable the app sandbox -->
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.inherit</key>
<true/>
<!-- Allow opening outgoing network connections -->
<key>com.apple.security.network.client</key>
<true/>
<!-- Allow opening & saving files for upload & download -->
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
<!-- Access to camera & microphone for calls ->
<key>com.apple.security.device.camera</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
</dict>
</plist>

View File

@ -10,10 +10,6 @@
<key>com.apple.security.cs.disable-library-validation</key> <key>com.apple.security.cs.disable-library-validation</key>
<true/> <true/>
<!-- Enable the app sandbox -->
<key>com.apple.security.app-sandbox</key>
<true/>
<!-- Allow opening outgoing network connections --> <!-- Allow opening outgoing network connections -->
<key>com.apple.security.network.client</key> <key>com.apple.security.network.client</key>
<true/> <true/>

View File

@ -182,11 +182,13 @@ if (process.env.ED_SIGNTOOL_SUBJECT_NAME && process.env.ED_SIGNTOOL_THUMBPRINT)
/** /**
* Allow specifying ElectronTeamID via env vars * Allow specifying ElectronTeamID via env vars
* @param {string} process.env.APPLE_TEAM_ID * @param {string} process.env.APPLE_TEAM_ID
* Workaround for https://github.com/electron-userland/electron-builder/issues/7995
*/ */
if (process.env.APPLE_TEAM_ID) { if (process.env.APPLE_TEAM_ID) {
config.mac.extendInfo = { config.mac.extendInfo = {
ElectronTeamID: process.env.APPLE_TEAM_ID, ElectronTeamID: process.env.APPLE_TEAM_ID,
}; };
config.mac.entitlements = "./build/entitlements-sandbox.mac.plist";
} }
/** /**