From 03bf76b0e9c7d02468cddcb579efee928c0867bb Mon Sep 17 00:00:00 2001 From: zoffline Date: Sun, 31 May 2020 17:37:01 -0400 Subject: [PATCH] Exclude vcruntime140.dll from pyinstaller upx compressing Can corrupt it, preventing building, e.g.: https://github.com/pyinstaller/pyinstaller/issues/1565 https://github.com/pyinstaller/pyinstaller/issues/2659 https://github.com/zoffline/zwift-offline/pull/58 --- standalone.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/standalone.spec b/standalone.spec index 206639b..fff9ab0 100644 --- a/standalone.spec +++ b/standalone.spec @@ -29,5 +29,6 @@ exe = EXE(pyz, bootloader_ignore_signals=False, strip=False, upx=True, + upx_exclude="vcruntime140.dll", runtime_tmpdir=None, console=True )