mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-08-18 21:07:48 +00:00
attempt custom icon attribute #6
This commit is contained in:
parent
0b9a6ef553
commit
4e0db039b4
2 changed files with 12 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue