diff --git a/Sources/LockIME/Assets.xcassets/AppIcon.appiconset/Contents.json b/Sources/LockIME/Assets.xcassets/AppIcon.appiconset/Contents.json index c9ddaab..b5422c9 100644 --- a/Sources/LockIME/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/Sources/LockIME/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -53,12 +53,6 @@ "idiom" : "mac", "scale" : "1x", "size" : "512x512" - }, - { - "filename" : "icon_1024.png", - "idiom" : "mac", - "scale" : "2x", - "size" : "512x512" } ], "info" : { diff --git a/Sources/LockIME/Assets.xcassets/AppIcon.appiconset/icon_1024.png b/Sources/LockIME/Assets.xcassets/AppIcon.appiconset/icon_1024.png deleted file mode 100644 index a31025d..0000000 Binary files a/Sources/LockIME/Assets.xcassets/AppIcon.appiconset/icon_1024.png and /dev/null differ diff --git a/scripts/make-dmg.sh b/scripts/make-dmg.sh index e6c0d6a..7a39046 100755 --- a/scripts/make-dmg.sh +++ b/scripts/make-dmg.sh @@ -30,11 +30,20 @@ ln -s /Applications "$STAGE/Applications" mkdir -p "$(dirname "$OUT")" rm -f "$OUT" +# ULFO (LZFSE) over the historical UDZO (zlib): squeezes the Mach-O binary and +# the embedded Sparkle framework harder (the .car app-icon bitmaps are already +# lzfse and barely move). LZFSE is Apple's own codec, decoded in userspace by +# the host OS's DiskImages helper (a universal binary) — so mountability tracks +# the host macOS version, never the contained app's CPU arch: the x86_64 image +# mounts exactly the same. ULFO mounts on every macOS ≥ 10.11 (our floor is +# 14.0). The .dmg is the manual-download convenience only — Sparkle updates ship +# the zip (see docs/RELEASING.md) — and CI signs/notarizes/staples it afterward, +# all compression-format-agnostic. hdiutil create \ -volname "$VOL" \ -srcfolder "$STAGE" \ -fs HFS+ \ - -format UDZO \ + -format ULFO \ -ov -quiet \ "$OUT"