Fixed missing qoutes

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-07-07 07:07:32 +02:00 committed by jspijker
parent 5191d4f9da
commit 4d98ba3540
2 changed files with 3 additions and 5 deletions

View file

@ -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 %}

View file

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