diff --git a/Ultimaker-Cura.spec.jinja b/Ultimaker-Cura.spec.jinja index 3027795d0b..f2adefc1ef 100644 --- a/Ultimaker-Cura.spec.jinja +++ b/Ultimaker-Cura.spec.jinja @@ -60,7 +60,7 @@ coll = COLLECT( name=r'{{ name }}' ) -{% if macos == 'True' %}app = BUNDLE( +{% if macos == true %}app = BUNDLE( coll, name='{{ name }}.app', icon='{{ icon }}', diff --git a/conanfile.py b/conanfile.py index 067d1a231b..b262fa89da 100644 --- a/conanfile.py +++ b/conanfile.py @@ -196,7 +196,7 @@ class CuraConan(ConanFile): 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 - macos = "'{}'".format(str(self.settings.os == "Macos")) + macos = self.settings.os == "Macos" )) def source(self):