diff options
author | j.spijker@ultimaker.com <jelle spijker> | 2022-07-07 08:07:32 +0300 |
---|---|---|
committer | jspijker <j.spijker@ultimaker.com> | 2022-07-07 08:07:32 +0300 |
commit | 4d98ba3540dd74ba9dacaecac4e83d6157d55243 (patch) | |
tree | b9db99392ac1a3b519020d1e5d969f2f354767ad | |
parent | 5191d4f9da207717948e21619dad27b04bdfd618 (diff) |
Fixed missing qoutes
Contributes to CURA-9365
-rw-r--r-- | Ultimaker-Cura.spec.jinja | 4 | ||||
-rw-r--r-- | 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): |