diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-12-06 08:33:28 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-12-06 11:51:23 +0100 |
commit | 4f17e0cfe9f255886ea986545789d69329835442 (patch) | |
tree | 692b7e1d11397dc2e1ad7fdda5eb66dc600bd893 /src | |
parent | c1f1c643ff54bf9888f775df3c4318e59a3ba18f (diff) | |
download | VeraCrypt-4f17e0cfe9f255886ea986545789d69329835442.tar.gz VeraCrypt-4f17e0cfe9f255886ea986545789d69329835442.zip |
MacOSX: Customize dmg file using VeraCrypt new logo
Diffstat (limited to 'src')
-rw-r--r-- | src/Main/Main.make | 13 | ||||
-rw-r--r-- | src/Setup/MacOSX/template.dmg.bz2 | bin | 0 -> 9294035 bytes |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/Main/Main.make b/src/Main/Main.make index ee113f0e..4140f552 100644 --- a/src/Main/Main.make +++ b/src/Main/Main.make @@ -178,9 +178,20 @@ endif /usr/local/bin/packagesbuild $(PWD)/Setup/MacOSX/veracrypt.pkgproj productsign --sign "Developer ID Installer: Mounir IDRASSI" "$(PWD)/Setup/MacOSX/VeraCrypt $(TC_VERSION).pkg" $(PWD)/Setup/MacOSX/VeraCrypt_$(TC_VERSION).pkg rm -f $(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 + rm -f "$(PWD)/Setup/MacOSX/template.dmg" + rm -fr "$(PWD)/Setup/MacOSX/VeraCrypt_dmg" + mkdir -p "$(PWD)/Setup/MacOSX/VeraCrypt_dmg" + bunzip2 -k -f "$(PWD)/Setup/MacOSX/template.dmg.bz2" + hdiutil attach "$(PWD)/Setup/MacOSX/template.dmg" -noautoopen -quiet -mountpoint "$(PWD)/Setup/MacOSX/VeraCrypt_dmg" + cp "$(PWD)/Setup/MacOSX/VeraCrypt_$(TC_VERSION).pkg" "$(PWD)/Setup/MacOSX/VeraCrypt_dmg/VeraCrypt_Installer.pkg" + hdiutil detach "$(PWD)/Setup/MacOSX/VeraCrypt_dmg" -quiet -force + hdiutil convert "$(PWD)/Setup/MacOSX/template.dmg" -quiet -format UDZO -imagekey zlib-level=9 -o $(APPNAME)_$(TC_VERSION).dmg + rm -f "$(PWD)/Setup/MacOSX/template.dmg" + rm -fr "$(PWD)/Setup/MacOSX/VeraCrypt_dmg" endif + + ifeq "$(PLATFORM)" "Linux" ifeq "$(TC_BUILD_CONFIG)" "Release" mkdir -p $(PWD)/Setup/Linux/usr/bin diff --git a/src/Setup/MacOSX/template.dmg.bz2 b/src/Setup/MacOSX/template.dmg.bz2 Binary files differnew file mode 100644 index 00000000..fe945152 --- /dev/null +++ b/src/Setup/MacOSX/template.dmg.bz2 |