mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-31 07:11:58 +08:00
Fix passing macos flag to jinja
CURA-9365
This commit is contained in:
parent
61d276f5ee
commit
0580814352
@ -60,7 +60,7 @@ coll = COLLECT(
|
||||
name=r'{{ name }}'
|
||||
)
|
||||
|
||||
{% if macos == 'True' %}app = BUNDLE(
|
||||
{% if macos == true %}app = BUNDLE(
|
||||
coll,
|
||||
name='{{ name }}.app',
|
||||
icon='{{ icon }}',
|
||||
|
@ -196,7 +196,7 @@ class CuraConan(ConanFile):
|
||||
upx = 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
|
||||
macos = "'{}'".format(str(self.settings.os == "Macos"))
|
||||
macos = self.settings.os == "Macos"
|
||||
))
|
||||
|
||||
def source(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user