Remove quotes around None value

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-07-01 07:25:28 +02:00 committed by Jelle Spijker
parent dec5609459
commit 7bc71070fd
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ exe = EXE(
target_arch={{ target_arch }}, target_arch={{ target_arch }},
codesign_identity=os.getenv('CODESIGN_IDENTITY', None), codesign_identity=os.getenv('CODESIGN_IDENTITY', None),
entitlements_file={{ entitlements_file }}, entitlements_file={{ entitlements_file }},
bundle_identifier='{{ osx_bundle_identifier }}' bundle_identifier={{ osx_bundle_identifier }}
icon='{{ icon }}' icon='{{ icon }}'
) )
coll = COLLECT( coll = COLLECT(

View File

@ -189,7 +189,7 @@ class CuraConan(ConanFile):
collect_all = pyinstaller_metadata["collect_all"], collect_all = pyinstaller_metadata["collect_all"],
icon = icon_path, icon = icon_path,
entitlements_file = entitlements_file, 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"), upx = str(self.settings.os == "Windows"),
strip = 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 target_arch = "x86_64" if self.settings.os == "Macos" else "None" # FIXME: Make this dependent on the settings.arch_target