From b566b9b9ecca1d089ff348db91fcbb20e2b6cee6 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 8 Jul 2026 10:33:51 -0500 Subject: [PATCH] strace it, twist it, pull it, bop it --- .forgejo/workflows/build.yml | 2 +- distribution/macos/create_macos_build_ava.sh | 8 ++++---- distribution/macos/create_macos_pr_build_ava.sh | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 9c33bbfff..058daab6c 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -177,7 +177,7 @@ jobs: - name: Install genisoimage and libdmg-hfsplus run: | - sudo apt-get install -y cmake genisoimage + sudo apt-get install -y cmake genisoimage strace 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 diff --git a/distribution/macos/create_macos_build_ava.sh b/distribution/macos/create_macos_build_ava.sh index 2f0a521a6..da5ce6041 100755 --- a/distribution/macos/create_macos_build_ava.sh +++ b/distribution/macos/create_macos_build_ava.sh @@ -151,11 +151,11 @@ PADDING=$((((STAGING_SIZE * 15 + 50) / 100) + (5 * 1024 * 1024))) TOTAL_SIZE=$((STAGING_SIZE + PADDING)) dd if=/dev/zero of="$UNCOMPRESSED_DMG" bs=1 count=0 seek="$TOTAL_SIZE" status=none -genisoimage -D -V "Ryujinx" \ - -no-pad -apple -hfs -uid 0 -gid 0 -dir-mode 0644 -file-mode 0644 \ +strace genisoimage -apple -hfs -no-pad -D -V "Ryujinx" \ + -uid 0 -gid 0 -dir-mode 0755 -file-mode 0644 \ -o "$UNCOMPRESSED_DMG" "$DMG_FOLDER" -hfsplus "$UNCOMPRESSED_DMG" chmod "/Ryujinx.app/Contents/MacOS/Ryujinx" 0755 -hfsplus "$UNCOMPRESSED_DMG" attr / C +strace hfsplus "$UNCOMPRESSED_DMG" chmod "/Ryujinx.app/Contents/MacOS/Ryujinx" 0755 +strace hfsplus "$UNCOMPRESSED_DMG" attr / C 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 533bd5296..ba8e0a8ce 100644 --- a/distribution/macos/create_macos_pr_build_ava.sh +++ b/distribution/macos/create_macos_pr_build_ava.sh @@ -147,11 +147,11 @@ PADDING=$((((STAGING_SIZE * 15 + 50) / 100) + (5 * 1024 * 1024))) TOTAL_SIZE=$((STAGING_SIZE + PADDING)) dd if=/dev/zero of="$UNCOMPRESSED_DMG" bs=1 count=0 seek="$TOTAL_SIZE" status=none -genisoimage -D -V "Ryujinx" \ - -no-pad -apple -hfs -uid 0 -gid 0 -dir-mode 0644 -file-mode 0644 \ +strace genisoimage -apple -hfs -no-pad -D -V "Ryujinx" \ + -uid 0 -gid 0 -dir-mode 0755 -file-mode 0644 \ -o "$UNCOMPRESSED_DMG" "$DMG_FOLDER" -hfsplus "$UNCOMPRESSED_DMG" chmod "/Ryujinx.app/Contents/MacOS/Ryujinx" 0755 -hfsplus "$UNCOMPRESSED_DMG" attr / C +strace hfsplus "$UNCOMPRESSED_DMG" chmod "/Ryujinx.app/Contents/MacOS/Ryujinx" 0755 +strace hfsplus "$UNCOMPRESSED_DMG" attr / C dmg dmg -c lzma "$UNCOMPRESSED_DMG" "$COMPRESSED_DMG" rm -r "$DMG_FOLDER" rm -f "$UNCOMPRESSED_DMG"