From 46bd617f0aed8e7b87724be6c80567156420faf8 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Tue, 14 Apr 2026 23:06:30 +0200 Subject: [PATCH] fix: disable UPX compression to prevent PYZ archive corruption UPX can corrupt Python bytecode in PyInstaller bundles, causing "PYZ archive entry not found in the TOC" on Windows. Co-Authored-By: Claude Opus 4.6 --- 8cut.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/8cut.spec b/8cut.spec index 8e64219..4df079f 100644 --- a/8cut.spec +++ b/8cut.spec @@ -101,7 +101,7 @@ exe_kwargs = dict( debug=False, bootloader_ignore_signals=False, strip=False, - upx=True, + upx=False, console=False, # GUI app ) @@ -121,8 +121,7 @@ coll = COLLECT( a.binaries, a.datas, strip=False, - upx=True, - upx_exclude=[], + upx=False, name="8cut", )