diff options
author | Annika Wickert <awlx@users.noreply.github.com> | 2020-05-26 09:39:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 09:39:41 +0200 |
commit | 20ec0bfd931e1c34cd553951fac6fe81d0a5d054 (patch) | |
tree | 947e3bdae189d7cb02ff930915623aff069a50a5 | |
parent | 65f04dd68cffbce2a5e232c39ec0b3a99ff2a1ac (diff) |
Fix Camera permissions for signed Apps
-rw-r--r-- | entitlements.mac.plist | 20 | ||||
-rw-r--r-- | package.json | 4 |
2 files changed, 23 insertions, 1 deletions
diff --git a/entitlements.mac.plist b/entitlements.mac.plist new file mode 100644 index 0000000..44e16f9 --- /dev/null +++ b/entitlements.mac.plist @@ -0,0 +1,20 @@ +<?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-jit</key> + <true/> + <key>com.apple.security.cs.allow-unsigned-executable-memory</key> + <true/> + <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.device.camera</key> + <true/> + <key>com.apple.security.device.microphone</key> + <true/> + <key>com.apple.security.device.audio-input</key> + <true/> +</dict> +</plist> diff --git a/package.json b/package.json index 02ea285..66c3c94 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,9 @@ "artifactName": "jitsi-meet.${ext}", "category": "public.app-category.video", "darkModeSupport": true, - "hardenedRuntime": false, + "hardenedRuntime": true, + "entitlements": "entitlements.mac.plist", + "entitlementsInherit": "entitlements.mac.plist", "extendInfo": { "NSCameraUsageDescription": "Jitsi Meet requires access to your camera in order to make video-calls.", "NSMicrophoneUsageDescription": "Jitsi Meet requires access to your microphone in order to make calls (audio/video)." |