attempt custom icon attribute #6

This commit is contained in:
Max 2026-07-07 10:37:55 -05:00
parent 0b9a6ef553
commit 4e0db039b4
2 changed files with 12 additions and 2 deletions

View file

@ -150,7 +150,12 @@ dd if=/dev/zero of="$UNCOMPRESSED_DMG" bs=1M count=100
mkfs.hfsplus -v "Ryujinx" -J "$UNCOMPRESSED_DMG"
shopt -s dotglob
libdmg-hfsplus "$UNCOMPRESSED_DMG" addall / "$DMG_FOLDER"/*
for f in "$DMG_FOLDER"/*; do
[[ -e "$f" ]] || continue
FILE_NAME=$(basename "$f")
libdmg-hfsplus "$UNCOMPRESSED_DMG" add "$f" "/$FILE_NAME"
libdmg-hfsplus "$UNCOMPRESSED_DMG" chmod "/$FILE_NAME" 0755
done
shopt -u dotglob
# https://developer.apple.com/library/archive/technotes/tn/tn1150.html

View file

@ -146,7 +146,12 @@ dd if=/dev/zero of="$UNCOMPRESSED_DMG" bs=1M count=100
mkfs.hfsplus -v "Ryujinx" -J "$UNCOMPRESSED_DMG"
shopt -s dotglob
libdmg-hfsplus "$UNCOMPRESSED_DMG" addall / "$DMG_FOLDER"/*
for f in "$DMG_FOLDER"/*; do
[[ -e "$f" ]] || continue
FILE_NAME=$(basename "$f")
libdmg-hfsplus "$UNCOMPRESSED_DMG" add "$f" "/$FILE_NAME"
libdmg-hfsplus "$UNCOMPRESSED_DMG" chmod "/$FILE_NAME" 0755
done
shopt -u dotglob
# https://developer.apple.com/library/archive/technotes/tn/tn1150.html