diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2021-04-23 14:51:53 +0200 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2021-04-23 14:51:53 +0200 |
commit | d1178a7514119ba7008a705d366f3f00a6b80e03 (patch) | |
tree | 2cbda5850ee97f61fbdaa4872d221c6e07733dba /tools | |
parent | ce6c3dbe38ee1a6f5c756ecb0b7ddfd67e42f1e0 (diff) |
Use -a when copying the bundle in the DMG so symlinks are preserved
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/mac-libs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mac-libs.sh b/tools/mac-libs.sh index 615cba6..2a4adde 100755 --- a/tools/mac-libs.sh +++ b/tools/mac-libs.sh @@ -98,8 +98,8 @@ codesign -s - --deep -f "$app" if [[ $build_dmg == 1 ]]; then mkdir dmg - cp -r "$app" dmg/ + cp -a "$app" dmg/ ln -s /Applications dmg/Applications - hdiutil create -volname melonDS -srcfolder dmg -ov -format UDBZ melonDS.dmg + hdiutil create -fs HFS+ -volname melonDS -srcfolder dmg -ov -format UDBZ melonDS.dmg rm -r dmg fi |