forked from CringeStudios/element-desktop
Stash
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
9bb4eb5f60
commit
7dedd7c7ff
33
build/entitlements-sandbox.mac.plist
Normal file
33
build/entitlements-sandbox.mac.plist
Normal 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>
|
@ -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/>
|
||||||
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user