From 88c964159c602ea2562a7a70451f1cf7667ad06f Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 25 Apr 2009 16:34:37 +0000 Subject: - Change disk image compression from UBZO to UBDZ - 10.4+, which is fine, and ~10% smaller distribution file --- Scripts/package-application.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/package-application.sh b/Scripts/package-application.sh index efe63717..680cfb23 100755 --- a/Scripts/package-application.sh +++ b/Scripts/package-application.sh @@ -45,7 +45,7 @@ cp -R "${BUILT_PRODUCTS_DIR}/${TARGET_NAME}${WRAPPER_SUFFIX}" "${DMG_BUILD_PATH} hdiutil create -srcfolder "${DISTTEMP}" -volname "$DMG_VOLUME_NAME" -fs HFS+ -fsargs '-c c=64,a=16,e=16' -format UDRW "${DMG_BUILD_PATH}/${DMG_NAME}.temp.dmg" > /dev/null # Compress the disk image -hdiutil convert "${DMG_BUILD_PATH}/${DMG_NAME}.temp.dmg" -format UDZO -imagekey lib-level=9 -o "${DMG_BUILD_PATH}/${DMG_NAME}.dmg" > /dev/null +hdiutil convert "${DMG_BUILD_PATH}/${DMG_NAME}.temp.dmg" -format UDBZ -o "${DMG_BUILD_PATH}/${DMG_NAME}.dmg" > /dev/null # Remove temporary files and copies rm -rf "${DISTTEMP}" -- cgit v1.2.3