aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNadia Holmquist Pedersen <nadia@nhp.sh>2021-04-23 14:51:53 +0200
committerNadia Holmquist Pedersen <nadia@nhp.sh>2021-04-23 14:51:53 +0200
commitd1178a7514119ba7008a705d366f3f00a6b80e03 (patch)
tree2cbda5850ee97f61fbdaa4872d221c6e07733dba /tools
parentce6c3dbe38ee1a6f5c756ecb0b7ddfd67e42f1e0 (diff)
Use -a when copying the bundle in the DMG so symlinks are preserved
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mac-libs.sh4
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