mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-01 05:12:02 +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 }}'
|
name=r'{{ name }}'
|
||||||
)
|
)
|
||||||
|
|
||||||
{% if macos == 'True' %}app = BUNDLE(
|
{% if macos == true %}app = BUNDLE(
|
||||||
coll,
|
coll,
|
||||||
name='{{ name }}.app',
|
name='{{ name }}.app',
|
||||||
icon='{{ icon }}',
|
icon='{{ icon }}',
|
||||||
|
@ -196,7 +196,7 @@ class CuraConan(ConanFile):
|
|||||||
upx = str(self.settings.os == "Windows"),
|
upx = str(self.settings.os == "Windows"),
|
||||||
strip = 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
|
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):
|
def source(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user