diff options
-rw-r--r-- | macosx/module.defs | 6 |
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 |