summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-08-24 09:09:23 +0200
committerDamiano Galassi <[email protected]>2019-08-24 09:09:23 +0200
commit0d4715ae7820a0482d4f71770d0e134679fb9b7f (patch)
tree6a933f5bdb9e52268f39e8c2374e6fa101ea8e33
parent98edbce7b4a8fee679c91c94df00643ccf06cc1b (diff)
MacGui: add the needed hardened runtime entitlements.
-rw-r--r--macosx/HandBrake.entitlements4
-rw-r--r--macosx/HandBrakeXPCService/HandBrakeXPCService.entitlements2
2 files changed, 6 insertions, 0 deletions
diff --git a/macosx/HandBrake.entitlements b/macosx/HandBrake.entitlements
index 46fc9d34a..21864b9cc 100644
--- a/macosx/HandBrake.entitlements
+++ b/macosx/HandBrake.entitlements
@@ -10,6 +10,8 @@
</array>
<key>com.apple.security.assets.movies.read-write</key>
<true/>
+ <key>com.apple.security.automation.apple-events</key>
+ <true/>
<key>com.apple.security.files.bookmarks.app-scope</key>
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
@@ -22,6 +24,8 @@
<array>
<string>/usr/local/</string>
</array>
+ <key>com.apple.security.cs.disable-library-validation</key>
+ <true/>
<key>com.apple.security.temporary-exception.files.home-relative-path.read-write</key>
<array>
<string>/.dvdcss/</string>
diff --git a/macosx/HandBrakeXPCService/HandBrakeXPCService.entitlements b/macosx/HandBrakeXPCService/HandBrakeXPCService.entitlements
index e55cdca52..51e0ad35b 100644
--- a/macosx/HandBrakeXPCService/HandBrakeXPCService.entitlements
+++ b/macosx/HandBrakeXPCService/HandBrakeXPCService.entitlements
@@ -12,5 +12,7 @@
<array>
<string>/.dvdcss/</string>
</array>
+ <key>com.apple.security.cs.disable-library-validation</key>
+ <true/>
</dict>
</plist>