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 <noreply@anthropic.com>
This commit is contained in:
@@ -101,7 +101,7 @@ exe_kwargs = dict(
|
|||||||
debug=False,
|
debug=False,
|
||||||
bootloader_ignore_signals=False,
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=False,
|
||||||
console=False, # GUI app
|
console=False, # GUI app
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -121,8 +121,7 @@ coll = COLLECT(
|
|||||||
a.binaries,
|
a.binaries,
|
||||||
a.datas,
|
a.datas,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=False,
|
||||||
upx_exclude=[],
|
|
||||||
name="8cut",
|
name="8cut",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user