fix: stabilize long-running quote refresh

This commit is contained in:
王鹏
2026-11-09 10:42:08 +08:00
parent b7e0894f4b
commit 5f4df03581
6 changed files with 281 additions and 84 deletions

View File

@@ -20,7 +20,14 @@ a = Analysis(
# PATH, which can make PyInstaller collect those incompatible DLLs by name.
# If bundled, they shadow Windows' ICU DLLs and PySide6.QtCore fails to load
# with ERROR_PROC_NOT_FOUND during startup.
_excluded_runtime_dlls = {"icuuc.dll", "icudt78.dll"}
_excluded_runtime_dlls = {
"icuuc.dll",
"icudt78.dll",
# Windows 10 already supplies the Universal CRT. Bundling another copy
# makes the one-file process load both the system and private ucrtbase,
# which can corrupt native heaps when Qt objects cross DLL boundaries.
"ucrtbase.dll",
}
a.binaries = [
entry
for entry in a.binaries