Skip to content

Commit a5daa14

Browse files
authored
Merge pull request element-hq#11435 from vector-im/dbkr/audio_video_entitlements_mac
Add entitlements file for mic & camera permissions on macOS
2 parents 3cf4d15 + a34766b commit a5daa14

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<!-- Entitlements from electron-builder's defaults
6+
(https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/templates/entitlements.mac.plist)
7+
nb. This does *not* include the app sandbox: at the time of adding this file,
8+
we were using electron-builder 21.2.0 which does not have the sandbox entitlement.
9+
Latest electron-builder does, but it appears to be causing issues:
10+
(https://github.com/electron-userland/electron-builder/issues/4390)
11+
-->
12+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
13+
<true/>
14+
<!-- https://github.com/electron-userland/electron-builder/issues/3940 -->
15+
<key>com.apple.security.cs.disable-library-validation</key>
16+
<true/>
17+
18+
<!-- Our own additional entitlements (we need to access the camera and
19+
mic for VoIP calls -->
20+
<key>com.apple.security.device.camera</key>
21+
<true/>
22+
<key>com.apple.security.device.audio-input</key>
23+
<true/>
24+
</dict>
25+
</plist>

0 commit comments

Comments
 (0)