shithub: choc

Download patch

ref: b5d296d2ab1240287280938b84cd4a2a8d6ca3e2
parent: 614a449d3cbedb010da0f0252348702db4890a79
author: Simon Howard <[email protected]>
date: Sat Jun 11 13:26:24 EDT 2016

osx: New background for .dmg package.

The old background was kind of ugly and it's nice to have a new look
for version 3. Also tweak the positions of icons and the window size.

binary files a/pkg/osx/disk/background.png b/pkg/osx/disk/background.png differ
--- a/pkg/osx/dmgfix
+++ b/pkg/osx/dmgfix
@@ -36,7 +36,7 @@
         -- window options:
 
         set bgfile to file "background.png" of theDisk
-        set the bounds of win to {200, 200, 717, 536}
+        set the bounds of win to {200, 200, 717, 545}
         set icon size of icon view options of win to 96
         set background picture of icon view options of win to bgfile
         set toolbar visible of win to false
@@ -48,10 +48,10 @@
 
         -- icon positions:
 
-        set position of file "README" of theDisk to {120, 250}
-        set position of file "Software License" of theDisk to {380, 250}
-        set position of file appName of theDisk to {70, 110}
-        set position of file "Applications" of theDisk to {450, 110}
+        set position of file "README" of theDisk to {110, 220}
+        set position of file "Software License" of theDisk to {400, 220}
+        set position of file appName of theDisk to {110, 80}
+        set position of file "Applications" of theDisk to {400, 80}
 
         eject theDisk
     end tell