diff --git a/distribution/macos/create_macos_build_ava.sh b/distribution/macos/create_macos_build_ava.sh index cc287b803..b1e886610 100755 --- a/distribution/macos/create_macos_build_ava.sh +++ b/distribution/macos/create_macos_build_ava.sh @@ -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 diff --git a/distribution/macos/create_macos_pr_build_ava.sh b/distribution/macos/create_macos_pr_build_ava.sh index 09fceea61..dae401f16 100644 --- a/distribution/macos/create_macos_pr_build_ava.sh +++ b/distribution/macos/create_macos_pr_build_ava.sh @@ -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