Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
stmuk committed Feb 11, 2016
1 parent eb79f1b commit 00fd195
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions ports/darwin_dmg/adjust_installation_window.scpt
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion ports/darwin_dmg/package_darwin_dmg.pl
Expand Up @@ -137,7 +137,8 @@ sub run {
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'";
Expand Down

0 comments on commit 00fd195

Please sign in to comment.