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):