Browse Source

Merge branch 'dmgbuild-fix' into 'master'

Fix to make dmgbuild work

See merge request openlp/packaging!17
master
Raoul Snyman 1 year ago
parent
commit
5b42f3260d
  1. 4
      builders/macosx-builder.py

4
builders/macosx-builder.py

@ -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):

Loading…
Cancel
Save