aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
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'";