mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-28 20:20:18 +02:00
Merge hdiutil calls in build.sh
Because for some reason the hdiutil convert step would sometimes fail with "image corrupt" when given an image the hdiutil create step had just previously created. Too cursed for my pay grade; I took the easy way out.
This commit is contained in:
3
.github/build.sh
vendored
3
.github/build.sh
vendored
@@ -428,8 +428,7 @@ if [[ $PACKAGE_MODE == dmg ]]; then
|
||||
mv $appdir dmgroot/$appdir
|
||||
cp ../LICENSE dmgroot/LICENSE
|
||||
cp ../README.md dmgroot/README.md
|
||||
hdiutil create uncompressed.dmg -ov -volname $APP_NAME -fs HFS+ -srcfolder dmgroot
|
||||
hdiutil convert uncompressed.dmg -format UDZO -o $ASSET_PATH
|
||||
hdiutil create -format UDZO -volname $APP_NAME -fs HFS+ -srcfolder dmgroot -o $ASSET_PATH
|
||||
elif [[ $PACKAGE_MODE == appimage ]]; then
|
||||
# so far this can only happen with $BSH_HOST_PLATFORM-$BSH_HOST_LIBC == linux-gnu, but this may change later
|
||||
case $BSH_HOST_ARCH in
|
||||
|
Reference in New Issue
Block a user