aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Amine Mouafik <amine@mouafik.fr>2019-09-19 19:26:24 +0700
committerLibravatar Amine Mouafik <amine@mouafik.fr>2019-09-19 19:26:24 +0700
commit28bcebbbf8b13cf671d655f74148e25f97ad835a (patch)
tree8ca5da2d9bae00712b732c018f0f1045ca5ced23
parentRevert "Remove unused build-helpers (entitlements defs)" (diff)
downloadferdium-app-28bcebbbf8b13cf671d655f74148e25f97ad835a.tar.gz
ferdium-app-28bcebbbf8b13cf671d655f74148e25f97ad835a.tar.zst
ferdium-app-28bcebbbf8b13cf671d655f74148e25f97ad835a.zip
Attempt at building macOS with the right entitlements
-rw-r--r--build-helpers/default.entitlements.mac.inherit.plist (renamed from build-helpers/default.entitlements.mas.inherit.plist)0
-rw-r--r--build-helpers/default.entitlements.mac.plist16
-rw-r--r--build-helpers/default.entitlements.mas.plist8
-rw-r--r--electron-builder.yml2
4 files changed, 18 insertions, 8 deletions
diff --git a/build-helpers/default.entitlements.mas.inherit.plist b/build-helpers/default.entitlements.mac.inherit.plist
index d8dc69e80..d8dc69e80 100644
--- a/build-helpers/default.entitlements.mas.inherit.plist
+++ b/build-helpers/default.entitlements.mac.inherit.plist
diff --git a/build-helpers/default.entitlements.mac.plist b/build-helpers/default.entitlements.mac.plist
new file mode 100644
index 000000000..bd6f69ba7
--- /dev/null
+++ b/build-helpers/default.entitlements.mac.plist
@@ -0,0 +1,16 @@
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.app-sandbox</key>
6 <true/>
7 <key>com.apple.security.automation.apple-events</key>
8 <true/>
9 <key>com.apple.security.network.client</key>
10 <true/>
11 <key>com.apple.security.device.camera</key>
12 <true/>
13 <key>com.apple.security.device.audio-input</key>
14 <true/>
15 </dict>
16</plist>
diff --git a/build-helpers/default.entitlements.mas.plist b/build-helpers/default.entitlements.mas.plist
deleted file mode 100644
index 8e31f755a..000000000
--- a/build-helpers/default.entitlements.mas.plist
+++ /dev/null
@@ -1,8 +0,0 @@
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.app-sandbox</key>
6 <true/>
7 </dict>
8</plist>
diff --git a/electron-builder.yml b/electron-builder.yml
index 764b3e144..e683e8f98 100644
--- a/electron-builder.yml
+++ b/electron-builder.yml
@@ -11,6 +11,8 @@ mac:
11 gatekeeperAssess: false 11 gatekeeperAssess: false
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 entitlements: ./build-helpers/default.entitlements.mac.plist
15 entitlementsInherit: ./build-helpers/default.entitlements.mac.inherit.plist
14 16
15afterSign: ./build-helpers/notarize.js 17afterSign: ./build-helpers/notarize.js
16 18