diff --git a/platform/build-scripts/tools/mac/scripts/create-dmg.sh b/platform/build-scripts/tools/mac/scripts/create-dmg.sh index 7e703fdcfa8c..ae5860ca1298 100644 --- a/platform/build-scripts/tools/mac/scripts/create-dmg.sh +++ b/platform/build-scripts/tools/mac/scripts/create-dmg.sh @@ -69,7 +69,7 @@ function usage() { echo " --no-internet-enable" echo " disable automatic mount©" echo " --format" - echo " specify the final image format (default is UDZO)" + echo " specify the final image format (default is ULFO)" echo " --add-file target_name file|folder x y" echo " add additional file or folder (can be used multiple times)" echo " --disk-image-size x" @@ -93,7 +93,7 @@ WINW=500 WINH=350 ICON_SIZE=128 TEXT_SIZE=16 -FORMAT="UDZO" +FORMAT="ULFO" ADD_FILE_SOURCES=() ADD_FILE_TARGETS=() IMAGEKEY="" @@ -189,6 +189,8 @@ while test "${1:0:1}" = "-"; do IMAGEKEY="-imagekey zlib-level=9";; UDBZ) IMAGEKEY="-imagekey bzip2-level=9";; + ULFO) + IMAGEKEY="-imagekey lzfse-level=9";; esac done diff --git a/platform/build-scripts/tools/mac/scripts/makedmg.sh b/platform/build-scripts/tools/mac/scripts/makedmg.sh index fc2e4f6d16e3..abddb5516d47 100644 --- a/platform/build-scripts/tools/mac/scripts/makedmg.sh +++ b/platform/build-scripts/tools/mac/scripts/makedmg.sh @@ -84,7 +84,7 @@ sync;sync;sync hdiutil detach "$device" log "Compressing r/w disk image to ${RESULT_DMG}..." -hdiutil convert "$TEMP_DMG" -quiet -format UDZO -imagekey zlib-level=9 -o "$RESULT_DMG" +hdiutil convert "$TEMP_DMG" -quiet -format ULFO -imagekey lzfse-level=9 -o "$RESULT_DMG" rm -f "$TEMP_DMG" hdiutil internet-enable -no "$RESULT_DMG"