From 4d98ba3540dd74ba9dacaecac4e83d6157d55243 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Thu, 7 Jul 2022 07:07:32 +0200 Subject: [PATCH] Fixed missing qoutes Contributes to CURA-9365 --- Ultimaker-Cura.spec.jinja | 4 +--- conanfile.py | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Ultimaker-Cura.spec.jinja b/Ultimaker-Cura.spec.jinja index 12b5b8d2c2..7609a64672 100644 --- a/Ultimaker-Cura.spec.jinja +++ b/Ultimaker-Cura.spec.jinja @@ -255,13 +255,11 @@ app = UMBUNDLE( 'CFBundleExecutable': '{{ name }}', 'CFBundleInfoDictionaryVersion': '6.0', 'CFBundlePackageType': 'APPL', - 'CFBundleShortVersionString': '{{ short_version }}', + 'CFBundleShortVersionString': {{ short_version }}, 'CFBundleDocumentTypes': [{ 'CFBundleTypeRole': 'Viewer', 'CFBundleTypeExtensions': ['*'], 'CFBundleTypeName': 'Model Files', - 'LSItemContentTypes': ['com.example.myformat'], - 'LSHandlerRank': 'Owner' }] }, ){% endif %} diff --git a/conanfile.py b/conanfile.py index ae2d83e51e..38dfe34fe0 100644 --- a/conanfile.py +++ b/conanfile.py @@ -203,8 +203,8 @@ class CuraConan(ConanFile): strip = False, # This should be possible on Linux and MacOS but, it can also cause issues on some distributions. Safest is to disable it for now target_arch = "'x86_64'" if self.settings.os == "Macos" else "None", # FIXME: Make this dependent on the settings.arch_target macos = self.settings.os == "Macos", - version = self.version, - short_version = f"{cura_version.major}.{cura_version.minor}.{cura_version.patch}", + version = f"'{self.version}'", + short_version = f"'{cura_version.major}.{cura_version.minor}.{cura_version.patch}'", )) def source(self):