mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 13:13:34 +01:00
MacOSX : modify Makefile to automatically build and sign the MacOSX installer for VeraCrypt.
This commit is contained in:
parent
a857f6c087
commit
ce44ad4c57
@ -165,8 +165,10 @@ endif
|
||||
echo -n APPLTRUE >$(APPNAME).app/Contents/PkgInfo
|
||||
sed -e 's/_VERSION_/$(patsubst %a,%.1,$(patsubst %b,%.2,$(TC_VERSION)))/' ../Build/Resources/MacOSX/Info.plist.xml >$(APPNAME).app/Contents/Info.plist
|
||||
codesign -s "Developer ID Application: Mounir IDRASSI" $(APPNAME).app
|
||||
/usr/local/bin/packagesbuild $(PWD)/Setup/MacOSX/veracrypt.pkgproj
|
||||
productsign --sign "Developer ID Installer: Mounir IDRASSI" $(PWD)/Setup/MacOSX/veracrypt.pkg $(PWD)/Setup/MacOSX/VeraCrypt_$(TC_VERSION).pkg
|
||||
rm -f $(APPNAME)_$(TC_VERSION).dmg
|
||||
hdiutil create -srcfolder $(APPNAME).app -volname "VeraCrypt $(TC_VERSION) for Mac OS X $(VC_OSX_TARGET) and later" $(APPNAME)_$(TC_VERSION).dmg
|
||||
hdiutil create -srcfolder (PWD)/Setup/MacOSX/VeraCrypt_$(TC_VERSION).pkg -volname "VeraCrypt $(TC_VERSION) for Mac OS X $(VC_OSX_TARGET) and later" $(APPNAME)_$(TC_VERSION).dmg
|
||||
endif
|
||||
|
||||
ifeq "$(PLATFORM)" "Linux"
|
||||
|
Loading…
Reference in New Issue
Block a user