From 9f9e273de2b30b13810a403c88ffcde6c32cc265 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 19 May 2012 16:22:16 +0000 Subject: [PATCH] Compress the dmg with bzip2 rather than zlib Reduces size by ~7%. Originally committed to SVN as r6836. --- aegisub/tools/osx-dmg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/tools/osx-dmg.sh b/aegisub/tools/osx-dmg.sh index f74a0111a..f5e41aaf8 100755 --- a/aegisub/tools/osx-dmg.sh +++ b/aegisub/tools/osx-dmg.sh @@ -97,7 +97,7 @@ echo "---- Detaching ----" echo echo "---- Compressing ----" -/usr/bin/hdiutil convert "${PKG_NAME_RW}" -format UDZO -imagekey zlib-level=9 -o "${PKG_NAME}.dmg" || exit $? +/usr/bin/hdiutil convert "${PKG_NAME_RW}" -format UDBZ -imagekey bzip2-level=9 -o "${PKG_NAME}.dmg" || exit $? echo echo "---- Removing \"${TMP_DMG}\", \"${PKG_NAME_RW}\" ----"