1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-12-22 04:52:50 +00:00

Setting dmg background in osx build only for release build.

This commit is contained in:
Martin Zibricky 2012-06-24 19:22:04 +02:00
parent d49470614b
commit 12fd1af4fb

View File

@ -564,12 +564,13 @@ class MacosxBuilder(object):
)
# Set dmg background.
# Set dmg background. Requires running Mac OS X gui.
# TODO: better formatting and code refactoring
self.adjust_package_view({'openlp_dmg_icon_file':
self.dmg_background_img,'openlp_appname': 'OpenLP' },
os.path.join(self.script_path,
'applescript-adjustview-10-6.master'))
if not self.args.devel:
self.adjust_package_view({'openlp_dmg_icon_file':
self.dmg_background_img,'openlp_appname': 'OpenLP' },
os.path.join(self.script_path,
'applescript-adjustview-10-6.master'))
# Unmount dmg file.
self._print('... unmounting the dmg.')