mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Fix passing macos flag to jinja
CURA-9365
This commit is contained in:
parent
61d276f5ee
commit
0580814352
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue