From: Carl Hetherington Date: Fri, 16 Aug 2013 20:52:41 +0000 (+0100) Subject: Forward-port attempt to fix DMG generation. X-Git-Tag: v2.0.48~1337^2~71 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=884eec78038b7180a9b80550677e59e084413344;p=dcpomatic.git Forward-port attempt to fix DMG generation. --- diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh index dc8847ba0..19f42816b 100644 --- a/platform/osx/make_dmg.sh +++ b/platform/osx/make_dmg.sh @@ -99,6 +99,7 @@ vol_name=DCP-o-matic-$version mkdir -p $WORK/$vol_name cp -r $WORK/$appdir $WORK/$vol_name +ln -s /Applications $WORK/$vol_name/Applications rm -f $tmp_dmg "$dmg" hdiutil create -srcfolder $WORK/$vol_name -volname $vol_name -fs HFS+ -fsargs "-c c=64,a=16,e=16" -format UDRW -size $DMG_SIZE $tmp_dmg @@ -117,14 +118,12 @@ echo ' set theViewOptions to the icon view options of container window set arrangement of theViewOptions to not arranged set icon size of theViewOptions to 64 - make new alias file at container window to POSIX file "/Applications" with properties {name:"Applications"} set position of item "DCP-o-matic.app" of container window to {90, 80} set position of item "Applications" of container window to {310, 80} close open update without registering applications delay 5 - eject end tell end tell ' | osascript