Only use upx on Windows

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-07-01 06:37:34 +02:00 committed by Jelle Spijker
parent 3fe0f26e94
commit f3ebf98440
2 changed files with 3 additions and 2 deletions

View file

@ -188,7 +188,8 @@ class CuraConan(ConanFile):
hiddenimports = pyinstaller_metadata["hiddenimports"],
collect_all = pyinstaller_metadata["collect_all"],
icon = icon_path,
entitlements_file = entitlements_file
entitlements_file = entitlements_file,
upx = str(self.settings.os == "Windows")
))
def source(self):