mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-08-19 21:37:45 +00:00
shortened file path length
This commit is contained in:
parent
3312af1dcd
commit
a10ea4c3e5
3 changed files with 17 additions and 13 deletions
|
|
@ -175,7 +175,7 @@ jobs:
|
|||
- name: Install attr
|
||||
run: sudo apt-get install -y attr
|
||||
|
||||
- name: Install hfsutils, and libdmg-hfsplus
|
||||
- name: Install hfsutils and libdmg-hfsplus
|
||||
run: |
|
||||
sudo apt-get install -y hfsutils cmake
|
||||
git clone https://github.com/mozilla/libdmg-hfsplus.git
|
||||
|
|
|
|||
|
|
@ -143,16 +143,18 @@ fi
|
|||
echo ""
|
||||
echo "Packaging .dmg"
|
||||
|
||||
UNCOMPRESSED_DMG_SHORT="$OUTPUT_DIRECTORY/app.dmg" # hfsutils is old, max fle path length is 255.
|
||||
UNCOMPRESSED_DMG="$OUTPUT_DIRECTORY/UNCOMPRESSED_$RELEASE_DMG_FILE_NAME"
|
||||
COMPRESSED_DMG="$OUTPUT_DIRECTORY/$RELEASE_DMG_FILE_NAME"
|
||||
|
||||
dd if=/dev/zero of="$UNCOMPRESSED_DMG" bs=1M count=100
|
||||
hformat -l "Ryujinx" "$UNCOMPRESSED_DMG"
|
||||
dd if=/dev/zero of="$UNCOMPRESSED_DMG_SHORT" bs=1M count=100
|
||||
hformat -l "Ryujinx" "$UNCOMPRESSED_DMG_SHORT"
|
||||
|
||||
hmount "$UNCOMPRESSED_DMG"
|
||||
hcopy -r "$DMG_FOLDER/" "$UNCOMPRESSED_DMG":
|
||||
humount "$UNCOMPRESSED_DMG"
|
||||
rm -r "$DMG_FOLDER"
|
||||
hmount "$UNCOMPRESSED_DMG_SHORT"
|
||||
hcopy -r "$DMG_FOLDER/" "$UNCOMPRESSED_DMG_SHORT":
|
||||
humount "$UNCOMPRESSED_DMG_SHORT"
|
||||
rm -r "$DMG_FOLDER
|
||||
mv "$UNCOMPRESSED_DMG_SHORT" "$UNCOMPRESSED_DMG"
|
||||
|
||||
dmg dmg -c lzma "$UNCOMPRESSED_DMG" "$COMPRESSED_DMG"
|
||||
rm -f "$UNCOMPRESSED_DMG"
|
||||
|
|
|
|||
|
|
@ -139,16 +139,18 @@ fi
|
|||
echo ""
|
||||
echo "Packaging .dmg"
|
||||
|
||||
UNCOMPRESSED_DMG_SHORT="$OUTPUT_DIRECTORY/app.dmg" # hfsutils is old, max fle path length is 255.
|
||||
UNCOMPRESSED_DMG="$OUTPUT_DIRECTORY/UNCOMPRESSED_$RELEASE_DMG_FILE_NAME"
|
||||
COMPRESSED_DMG="$OUTPUT_DIRECTORY/$RELEASE_DMG_FILE_NAME"
|
||||
|
||||
dd if=/dev/zero of="$UNCOMPRESSED_DMG" bs=1M count=100
|
||||
hformat -l "Ryujinx" "$UNCOMPRESSED_DMG"
|
||||
dd if=/dev/zero of="$UNCOMPRESSED_DMG_SHORT" bs=1M count=100
|
||||
hformat -l "Ryujinx" "$UNCOMPRESSED_DMG_SHORT"
|
||||
|
||||
hmount "$UNCOMPRESSED_DMG"
|
||||
hcopy -r "$DMG_FOLDER/" "$UNCOMPRESSED_DMG":
|
||||
humount "$UNCOMPRESSED_DMG"
|
||||
rm -r "$DMG_FOLDER"
|
||||
hmount "$UNCOMPRESSED_DMG_SHORT"
|
||||
hcopy -r "$DMG_FOLDER/" "$UNCOMPRESSED_DMG_SHORT":
|
||||
humount "$UNCOMPRESSED_DMG_SHORT"
|
||||
rm -r "$DMG_FOLDER
|
||||
mv "$UNCOMPRESSED_DMG_SHORT" "$UNCOMPRESSED_DMG"
|
||||
|
||||
dmg dmg -c lzma "$UNCOMPRESSED_DMG" "$COMPRESSED_DMG"
|
||||
rm -f "$UNCOMPRESSED_DMG"
|
||||
|
|
|
|||
Loading…
Reference in a new issue