Use -a when copying the bundle in the DMG so symlinks are preserved
This commit is contained in:
parent
ce6c3dbe38
commit
d1178a7514
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue