diff options
author | Amine Mouafik <amine@mouafik.fr> | 2019-12-23 19:28:04 +0100 |
---|---|---|
committer | Amine Mouafik <amine@mouafik.fr> | 2019-12-23 19:28:04 +0100 |
commit | a12642fb332e921db1e90151079629cc1fc9d76f (patch) | |
tree | f4377cb28c65ebe20e554f088a27446934c47f60 | |
parent | Merge branch 'develop' into fix/audio-video-on-macos (diff) | |
download | ferdium-app-a12642fb332e921db1e90151079629cc1fc9d76f.tar.gz ferdium-app-a12642fb332e921db1e90151079629cc1fc9d76f.tar.zst ferdium-app-a12642fb332e921db1e90151079629cc1fc9d76f.zip |
Attempt at updating entitlements list for signed macOS app
-rw-r--r-- | build-helpers/entitlements.mas.inherit.plist | 8 | ||||
-rw-r--r-- | build-helpers/entitlements.mas.plist (renamed from build-helpers/default.entitlements.mac.plist) | 6 | ||||
-rw-r--r-- | electron-builder.yml | 4 |
3 files changed, 16 insertions, 2 deletions
diff --git a/build-helpers/entitlements.mas.inherit.plist b/build-helpers/entitlements.mas.inherit.plist new file mode 100644 index 000000000..e33c2158e --- /dev/null +++ b/build-helpers/entitlements.mas.inherit.plist | |||
@@ -0,0 +1,8 @@ | |||
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 | <key>com.apple.security.inherit</key> | ||
6 | <true/> | ||
7 | </dict> | ||
8 | </plist> \ No newline at end of file | ||
diff --git a/build-helpers/default.entitlements.mac.plist b/build-helpers/entitlements.mas.plist index d361a9fe4..ef14228f0 100644 --- a/build-helpers/default.entitlements.mac.plist +++ b/build-helpers/entitlements.mas.plist | |||
@@ -2,6 +2,8 @@ | |||
2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | 2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
3 | <plist version="1.0"> | 3 | <plist version="1.0"> |
4 | <dict> | 4 | <dict> |
5 | <key>com.apple.security.cs.allow-jit</key> | ||
6 | <true/> | ||
5 | <key>com.apple.security.cs.allow-unsigned-executable-memory</key> | 7 | <key>com.apple.security.cs.allow-unsigned-executable-memory</key> |
6 | <true/> | 8 | <true/> |
7 | <key>com.apple.security.cs.disable-library-validation</key> | 9 | <key>com.apple.security.cs.disable-library-validation</key> |
@@ -10,5 +12,9 @@ | |||
10 | <true/> | 12 | <true/> |
11 | <key>com.apple.security.device.microphone</key> | 13 | <key>com.apple.security.device.microphone</key> |
12 | <true/> | 14 | <true/> |
15 | <key>com.apple.security.device.audio-input</key> | ||
16 | <true/> | ||
17 | <key>com.apple.security.network.client</key> | ||
18 | <true/> | ||
13 | </dict> | 19 | </dict> |
14 | </plist> \ No newline at end of file | 20 | </plist> \ No newline at end of file |
diff --git a/electron-builder.yml b/electron-builder.yml index 129a913c9..23625c825 100644 --- a/electron-builder.yml +++ b/electron-builder.yml | |||
@@ -12,8 +12,8 @@ mac: | |||
12 | category: public.app-category.productivity | 12 | category: public.app-category.productivity |
13 | icon: ./build-helpers/images/icon.icns | 13 | icon: ./build-helpers/images/icon.icns |
14 | darkModeSupport: true | 14 | darkModeSupport: true |
15 | entitlements: "./build-helpers/default.entitlements.mac.plist" | 15 | entitlements: "./build-helpers/entitlements.mas.plist" |
16 | entitlementsInherit: "./build-helpers/default.entitlements.mac.plist" | 16 | entitlementsInherit: "./build-helpers/entitlements.mas.inherit.plist" |
17 | extendInfo: | 17 | extendInfo: |
18 | NSMicrophoneUsageDescription: "This app requires camera access for video messaging services." | 18 | NSMicrophoneUsageDescription: "This app requires camera access for video messaging services." |
19 | NSCameraUsageDescription: "This app requires microphone access for audio messaging services." | 19 | NSCameraUsageDescription: "This app requires microphone access for audio messaging services." |