mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 21:12:50 +00:00
28 lines
777 B
Python
28 lines
777 B
Python
|
import os
|
||
|
|
||
|
# This is the settings file for building the DMG. Run dmgbuild like so:
|
||
|
# $ dmgbuild -s dmg-settings.py -D size=<size>,app=<path/to/OpenLP.app> "OpenLP" OpenLP-{version}.dmg
|
||
|
|
||
|
HERE = os.getcwd()
|
||
|
|
||
|
format = 'UDBZ'
|
||
|
size = '600M'
|
||
|
files = [defines.get('app', '/Applications/OpenLP.app')]
|
||
|
symlinks = { 'Applications': '/Applications' }
|
||
|
badge_icon = os.path.join(HERE, 'openlp-logo-new.icns')
|
||
|
icon_locations = {
|
||
|
'OpenLP.app': (160, 200),
|
||
|
'Applications': (550, 200)
|
||
|
}
|
||
|
background = os.path.join(HERE, 'dmg-background-new.png')
|
||
|
window_rect = ((100, 100), (700, 457))
|
||
|
default_view = 'icon-view'
|
||
|
show_icon_preview = False
|
||
|
arrange_by = None
|
||
|
scroll_position = (0, 0)
|
||
|
grid_offset = (0, 0)
|
||
|
grid_spacing = 100
|
||
|
label_pos = 'bottom' # or 'right'
|
||
|
text_size = 16
|
||
|
icon_size = 128
|