diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-16 21:52:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-16 21:52:41 +0100 |
| commit | 884eec78038b7180a9b80550677e59e084413344 (patch) | |
| tree | ac70222a5381c2f9bc717839d3b931e9e3b7e7f9 /platform | |
| parent | 74a8d26a8907c6e00e29f054178a3425f44e38ed (diff) | |
Forward-port attempt to fix DMG generation.
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/osx/make_dmg.sh | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
