mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:45:52 +08:00
Only use upx on Windows
Contributes to CURA-9365
This commit is contained in:
parent
3fe0f26e94
commit
f3ebf98440
@ -39,7 +39,7 @@ exe = EXE(
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx={{ upx }},
|
||||
console=False,
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user