From f3ebf984407c4530b506a8126056c8760ddf8277 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Fri, 1 Jul 2022 06:37:34 +0200 Subject: Only use upx on Windows Contributes to CURA-9365 --- conanfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'conanfile.py') diff --git a/conanfile.py b/conanfile.py index 80df016d6f..60d6c63823 100644 --- a/conanfile.py +++ b/conanfile.py @@ -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): -- cgit v1.2.3