From d1178a7514119ba7008a705d366f3f00a6b80e03 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Fri, 23 Apr 2021 14:51:53 +0200 Subject: Use -a when copying the bundle in the DMG so symlinks are preserved --- tools/mac-libs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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 -- cgit v1.2.3