From a6b0afc86df66c1c5cc63e4a58f961d19930d1ec Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Mon, 8 Nov 2021 12:04:27 +0000 Subject: [PATCH] add dmgbuild to its own commandline --- builders/macosx-builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builders/macosx-builder.py b/builders/macosx-builder.py index e51991e..e8b9456 100644 --- a/builders/macosx-builder.py +++ b/builders/macosx-builder.py @@ -348,7 +348,7 @@ class MacOSXBuilder(Builder): size += 10 os.chdir(os.path.dirname(self.dmg_settings_path)) - argv = ['--settings', 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', run_name='__main__')