aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorSteve Mynott <steve.mynott@gmail.com>2016-02-11 14:19:47 +0000
committerSteve Mynott <steve.mynott@gmail.com>2016-02-11 14:19:47 +0000
commit00fd1959016e72ca4ca75b6120a97872385b419b (patch)
treeada10c2fa6237e4d6bce0fc39762412a3ca069e2 /ports
parenteb79f1b039dcf705f10e92f048243f9decf0df0e (diff)
move Camelia from being folder icon to being folder background since it confused the london.pm mac users in testing into thinking the folder was an app
Diffstat (limited to 'ports')
-rw-r--r--ports/darwin_dmg/adjust_installation_window.scpt6
-rwxr-xr-xports/darwin_dmg/package_darwin_dmg.pl3
2 files changed, 6 insertions, 3 deletions
diff --git a/ports/darwin_dmg/adjust_installation_window.scpt b/ports/darwin_dmg/adjust_installation_window.scpt
index 5c8fa1b..c938583 100644
--- a/ports/darwin_dmg/adjust_installation_window.scpt
+++ b/ports/darwin_dmg/adjust_installation_window.scpt
@@ -6,6 +6,8 @@ tell application "Finder"
set top_left_Y to 100
set bottom_right_X to 600
set bottom_right_Y to 500
+ set theViewOptions to the icon view options of container window
+ set background picture of theViewOptions to POSIX file "/Volumes/Rakudo/.background/installerbg.png"
tell container window
set current view to icon view
@@ -24,9 +26,9 @@ tell application "Finder"
end tell
set position of item "Rakudo" to {120, 74}
- set position of item "Applications" to {360, 74}
+ set position of item "Applications" to {380, 74}
set position of item "README.txt" to {120, 264}
- set position of item "docs" to {360, 264}
+ set position of item "docs" to {380, 264}
delay 5
close
diff --git a/ports/darwin_dmg/package_darwin_dmg.pl b/ports/darwin_dmg/package_darwin_dmg.pl
index 0e76e64..a277d38 100755
--- a/ports/darwin_dmg/package_darwin_dmg.pl
+++ b/ports/darwin_dmg/package_darwin_dmg.pl
@@ -137,7 +137,8 @@ run "cp ../2000px-Camelia.svg.icns $vol_dir/.VolumeIcon.icns";
run "sips -i $vol_dir/.VolumeIcon.icns";
run "DeRez -only icns $vol_dir/.VolumeIcon.icns > tempicns.rsrc";
run "Rez -append tempicns.rsrc -o '$vol_dir/Rakudo/bin/perl6'";
-run "Rez -append tempicns.rsrc -o '$vol_dir/Rakudo/Icon\r'";
+run "mkdir $vol_dir/.background";
+run "cp ../installerbg.png $vol_dir/.background";
run "SetFile -c icnC '$vol_dir/.VolumeIcon.icns'";
run "SetFile -a C '$vol_dir'";
run "SetFile -a C '$vol_dir/Rakudo'";