# dmgbuild settings for Igneum-Miner-.dmg (used by build-dmg.sh; pip3 install dmgbuild). # Defines passed in: app (the built .app), stage (the folder with README.txt and the Stop command), icons (brand/icons). # Icon slots match brand/icons/make-icons.py (APP_SLOT, APPS_SLOT, ROW2_Y, ICON) and the arrow painted on the background. import os app = defines['app'] stage = defines['stage'] icons = defines['icons'] appname = os.path.basename(app) format = 'ULFO' filesystem = 'HFS+' size = None files = [app, os.path.join(stage, 'README.txt'), os.path.join(stage, 'Stop Igneum Miner.command')] symlinks = {'Applications': '/Applications'} icon = os.path.join(icons, 'igneum-volume.icns') # the volume icon (.VolumeIcon.icns, hidden, custom-icon flag set): the rounded # variant of the master mark; the app bundle itself carries the plain square igneum.icns background = os.path.join(icons, 'dmg-background.tiff') if os.path.exists(os.path.join(icons, 'dmg-background.tiff')) else os.path.join(icons, 'dmg-background.png') show_status_bar = False show_tab_view = False show_toolbar = False show_pathbar = False show_sidebar = False sidebar_width = 180 window_rect = ((200, 120), (660, 400)) default_view = 'icon-view' show_icon_preview = False include_icon_view_settings = 'auto' include_list_view_settings = 'auto' arrange_by = None grid_offset = (0, 0) grid_spacing = 100 scroll_position = (0, 0) label_pos = 'bottom' text_size = 12 icon_size = 96 icon_locations = { appname: (165, 130), 'Applications': (495, 130), 'README.txt': (165, 330), 'Stop Igneum Miner.command': (495, 330), }