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

Merge branch 'dmgbuild-fix' into 'master'

Fix to make dmgbuild work

See merge request openlp/packaging!17
This commit is contained in:
Raoul Snyman 2021-11-22 05:43:57 +00:00
commit 5b42f3260d

View File

@ -348,10 +348,10 @@ class MacOSXBuilder(Builder):
size += 10
os.chdir(os.path.dirname(self.dmg_settings_path))
argv = ['-s', self.dmg_settings_path, '-D', 'size={size}M'.format(size=size),
argv = ['dmgbuild', '-s', self.dmg_settings_path, '-D', 'size={size}M'.format(size=size),
'-D', 'icon={icon_path}'.format(icon_path=self.icon_path),
'-D', 'app={dist_app_path}'.format(dist_app_path=self.dist_app_path), dmg_title, self.dmg_file]
self._run_module('dmgbuild', argv, 'Error running dmgbuild')
self._run_module('dmgbuild', argv, 'Error running dmgbuild', run_name='__main__')
self._print('Finished creating dmg file, resulting file: %s' % self.dmg_file)
def get_platform(self):