Migrate from PyInstaller to Nuitka for compilation
This commit is contained in:
@@ -28,11 +28,13 @@ python main.py --refresh
|
||||
|
||||
## 编译为 .exe
|
||||
|
||||
使用 Nuitka 打包:
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File build.ps1
|
||||
```
|
||||
|
||||
产物:`dist/WallpaperChanger.exe`
|
||||
产物:`dist/WallpaperChanger.dist/WallpaperChanger.exe`(独立目录模式,含 exe + 依赖库)
|
||||
|
||||
- 双击运行 → 启动托盘
|
||||
- `WallpaperChanger.exe --refresh` → 拉取并设置壁纸后退出(右键菜单用)
|
||||
|
||||
Reference in New Issue
Block a user