Browse Source

Remove quotes around None value

Contributes to CURA-9365
j.spijker@ultimaker.com 2 years ago
parent
commit
7bc71070fd
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Ultimaker-Cura.spec.jinja
  2. 1 1
      conanfile.py

+ 1 - 1
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(

+ 1 - 1
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