优化程序

This commit is contained in:
hero920103 committed 2026-10-12 14:57:46 +08:00
1 parent 68e8eb91a7
commit 6df29c9254
27 files changed
+1974 -203

No files matched your search

+11 -3
View File
@@ -1,5 +1,13 @@
# 编译命令
python -m PyInstaller CleanDesktopOrganizer.spec
# 打包成 onefile
# 清除缓存重新打包命令
```powershell
# 第一步:先打 update_helper(主程序依赖它,CleanDesktopOrganizer.spec 会自动带上)
python -m PyInstaller update_helper.spec --clean
# 第二步:打 onefile 主程序
python -m PyInstaller CleanDesktopOrganizer.spec --clean
```
产物:`dist\CleanDesktopOrganizer.exe`(单文件,约 100MB,含 update_helper)
更新日志:`%TEMP%\update.log`(更新失败时查这个)