diff --git a/Ultimaker-Cura.spec.jinja b/Ultimaker-Cura.spec.jinja index ee2451c710..6f251d9031 100644 --- a/Ultimaker-Cura.spec.jinja +++ b/Ultimaker-Cura.spec.jinja @@ -46,7 +46,7 @@ exe = EXE( target_arch={{ target_arch }}, codesign_identity=os.getenv('CODESIGN_IDENTITY', None), entitlements_file={{ entitlements_file }}, - bundle_identifier='{{ osx_bundle_identifier }}' + bundle_identifier={{ osx_bundle_identifier }} icon='{{ icon }}' ) coll = COLLECT( diff --git a/conanfile.py b/conanfile.py index f32964266c..286eed0fee 100644 --- a/conanfile.py +++ b/conanfile.py @@ -189,7 +189,7 @@ class CuraConan(ConanFile): collect_all = pyinstaller_metadata["collect_all"], icon = icon_path, entitlements_file = entitlements_file, - osx_bundle_identifier = "nl.ultimaker.cura.dmg" if self.settings.os == "Macos" else "None", + osx_bundle_identifier = "'nl.ultimaker.cura.dmg'" if self.settings.os == "Macos" else "None", upx = str(self.settings.os == "Windows"), strip = str(self.settings.os != "Windows"), target_arch = "x86_64" if self.settings.os == "Macos" else "None" # FIXME: Make this dependent on the settings.arch_target