strace it, twist it, pull it, bop it

This commit is contained in:
Max 2026-07-08 10:33:51 -05:00
parent 6eb14298eb
commit b566b9b9ec
3 changed files with 9 additions and 9 deletions

View file

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

View file

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

View file

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