diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-06-16 15:10:57 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-06-16 15:10:57 +0200 |
commit | 978ebe669351e6fbd8da6c1195878bb805cd674f (patch) | |
tree | 4eb9c7f7e3f88cbf35f1a2d5743684e8dcb213e0 /src/Main/Main.make | |
parent | a92cefa60513d90e90762746661a8df876813cb1 (diff) | |
download | VeraCrypt-978ebe669351e6fbd8da6c1195878bb805cd674f.tar.gz VeraCrypt-978ebe669351e6fbd8da6c1195878bb805cd674f.zip |
MacOSX: Fix skipping codesign and productsign for local development build
Diffstat (limited to 'src/Main/Main.make')
-rwxr-xr-x | src/Main/Main.make | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Main/Main.make b/src/Main/Main.make index aa5e0972..c811f74c 100755 --- a/src/Main/Main.make +++ b/src/Main/Main.make @@ -210,7 +210,7 @@ else sed -e 's/_VERSION_/$(patsubst %a,%.1,$(patsubst %b,%.2,$(TC_VERSION)))/' ../Build/Resources/MacOSX/Info.plist.xml >$(APPNAME).app/Contents/Info.plist endif chmod -R go-w $(APPNAME).app -ifneq ($(LOCAL_DEVELOPMENT_BUILD),"true") +ifneq ("$(LOCAL_DEVELOPMENT_BUILD)","true") codesign -s "Developer ID Application: IDRIX (Z933746L2S)" --timestamp $(APPNAME).app endif @@ -224,7 +224,12 @@ ifdef VC_LEGACY_BUILD rm -f $(APPNAME)_Legacy_$(TC_VERSION).dmg else /usr/local/bin/packagesbuild $(BASE_DIR)/Setup/MacOSX/veracrypt.pkgproj +ifneq ("$(LOCAL_DEVELOPMENT_BUILD)","true") productsign --sign "Developer ID Installer: IDRIX (Z933746L2S)" --timestamp "$(BASE_DIR)/Setup/MacOSX/VeraCrypt $(TC_VERSION).pkg" $(BASE_DIR)/Setup/MacOSX/VeraCrypt_$(TC_VERSION).pkg +else + # copy the unsigned package to the expected location + cp "$(BASE_DIR)/Setup/MacOSX/VeraCrypt $(TC_VERSION).pkg" $(BASE_DIR)/Setup/MacOSX/VeraCrypt_$(TC_VERSION).pkg +end rm -f $(APPNAME)_$(TC_VERSION).dmg endif rm -f "$(BASE_DIR)/Setup/MacOSX/template.dmg" |