Files
niumasoftware/Readme.md
T
2026-10-12 14:57:46 +08:00

14 lines
442 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 打包成 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`(更新失败时查这个)