Download this file
| 1 | # dmgbuild settings for the Eleven install DMG. Icon coordinates match |
| 2 | # background.tiff (see genbg.py): the app icon and Applications sit either side |
| 3 | # of the "1 … 10 →" count, on the same line at y=208. APP_PATH and BG_TIFF are |
| 4 | # exported by ios/release-mac.sh. |
| 5 | import os |
| 6 | |
| 7 | app = os.environ["APP_PATH"] |
| 8 | appname = os.path.basename(app) # "Eleven.app" |
| 9 | |
| 10 | format = "UDZO" # compressed, read-only |
| 11 | files = [app] |
| 12 | symlinks = {"Applications": "/Applications"} |
| 13 | background = os.environ["BG_TIFF"] |
| 14 | |
| 15 | # ((window x, y), (width, height)) — width/height match the background. |
| 16 | window_rect = ((240, 140), (640, 400)) |
| 17 | default_view = "icon-view" |
| 18 | icon_size = 128 |
| 19 | text_size = 13 |
| 20 | icon_locations = { |
| 21 | appname: (160, 208), |
| 22 | "Applications": (480, 208), |
| 23 | } |
| 24 | |
| 25 | # Clean, chrome-free install window. |
| 26 | show_status_bar = False |
| 27 | show_tab_view = False |
| 28 | show_toolbar = False |
| 29 | show_pathbar = False |
| 30 | show_sidebar = False |
| 31 | |