diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index dcd63f492..1f8bc8dc6 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -181,6 +181,7 @@ jobs: git clone https://github.com/mozilla/libdmg-hfsplus.git cd libdmg-hfsplus && cmake . && make && cd .. sudo mv libdmg-hfsplus/dmg/dmg /usr/local/bin/dmg + sudo mv libdmg-hfsplus/hfs/hfsplus /usr/local/bin/hfsplus sudo rm -r libdmg-hfsplus - name: Get version info diff --git a/distribution/macos/create_macos_build_ava.sh b/distribution/macos/create_macos_build_ava.sh index 2a75ef532..a9007bf81 100755 --- a/distribution/macos/create_macos_build_ava.sh +++ b/distribution/macos/create_macos_build_ava.sh @@ -150,6 +150,7 @@ dd if=/dev/zero of="$UNCOMPRESSED_DMG" bs=1M count=100 genisoimage -D -V "Ryujinx" \ -no-pad -apple -uid 0 -gid 0 -dir-mode 0755 -file-mode 0755 \ -o "$UNCOMPRESSED_DMG" "$DMG_FOLDER" +hfsplus setattr "$UNCOMPRESSED_DMG" "kHasCustomIcon" 0x0400 dmg dmg -c lzma "$UNCOMPRESSED_DMG" "$COMPRESSED_DMG" rm -r "$DMG_FOLDER" rm -f "$UNCOMPRESSED_DMG" diff --git a/distribution/macos/create_macos_pr_build_ava.sh b/distribution/macos/create_macos_pr_build_ava.sh index 2c391c005..4c6054d38 100644 --- a/distribution/macos/create_macos_pr_build_ava.sh +++ b/distribution/macos/create_macos_pr_build_ava.sh @@ -146,6 +146,7 @@ dd if=/dev/zero of="$UNCOMPRESSED_DMG" bs=1M count=100 genisoimage -D -V "Ryujinx" \ -no-pad -apple -uid 0 -gid 0 -dir-mode 0755 -file-mode 0755 \ -o "$UNCOMPRESSED_DMG" "$DMG_FOLDER" +hfsplus setattr "$UNCOMPRESSED_DMG" "kHasCustomIcon" 0x0400 dmg dmg -c lzma "$UNCOMPRESSED_DMG" "$COMPRESSED_DMG" rm -r "$DMG_FOLDER" rm -f "$UNCOMPRESSED_DMG"