attempt custom icon attribute #1

This commit is contained in:
Max 2026-07-07 07:44:27 -05:00
parent 8d75e5cacb
commit f23bcc17f6
3 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -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"

View file

@ -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"