diff --git a/packaging/macos/make-dmg.sh b/packaging/macos/make-dmg.sh index 7504837..698df4a 100755 --- a/packaging/macos/make-dmg.sh +++ b/packaging/macos/make-dmg.sh @@ -37,10 +37,11 @@ mkdir -p "$(dirname "$output")" output_dir="$(cd "$(dirname "$output")" && pwd)" output="$output_dir/$(basename "$output")" rm -f "$output" -diskutil image create from \ - --format UDZO \ - --volumeName "Android CLI GUI" \ - "$staging/root" \ +hdiutil create \ + -volname "Android CLI GUI" \ + -srcfolder "$staging/root" \ + -ov \ + -format UDZO \ "$output" >/dev/null hdiutil verify "$output" >/dev/null