summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-08-30 18:20:41 +0200
committerDamiano Galassi <[email protected]>2019-08-30 18:20:41 +0200
commit513caaa58ee3d7b80d4ce0305e3fb476d4bcb34f (patch)
tree39a2ab40ecc670c41f28a4d99fc832bd9213b504 /macosx
parenta2143cb874e0ff6992fb5af6646b11a1f5b7d682 (diff)
MacGui: sign with the sandbox entitlements if sandbox is enabled.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/module.defs6
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/module.defs b/macosx/module.defs
index f5d413ac3..47a13ead4 100644
--- a/macosx/module.defs
+++ b/macosx/module.defs
@@ -99,4 +99,8 @@ MACOSX.XCODE_ARCHIVE = $(strip \
-exportPath '$(MACOSX.xarchive/)' \
-archivePath '$(MACOSX.xarchive/)' )
-MACOSX.SIGN = $(strip $(MACOSX.src/)hbsign '$(ID)' $(MACOSX.xroot/)HandBrake.app)
+ifeq (1,$(SECURITY.sandbox))
+MACOSX.SIGN = $(strip $(MACOSX.src/)hbsign -sr '$(ID)' $(MACOSX.xroot/)HandBrake.app $(MACOSX.xroot/)HandBrakeCLI)
+else
+MACOSX.SIGN = $(strip $(MACOSX.src/)hbsign -r '$(ID)' $(MACOSX.xroot/)HandBrake.app $(MACOSX.xroot/)HandBrakeCLI)
+endif