mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 04:52:50 +00:00
Fix to make dmgbuild work
This commit is contained in:
parent
f3450e30f2
commit
854dba8e86
@ -348,10 +348,10 @@ class MacOSXBuilder(Builder):
|
|||||||
size += 10
|
size += 10
|
||||||
|
|
||||||
os.chdir(os.path.dirname(self.dmg_settings_path))
|
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', '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]
|
'-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)
|
self._print('Finished creating dmg file, resulting file: %s' % self.dmg_file)
|
||||||
|
|
||||||
def get_platform(self):
|
def get_platform(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user