chore: add wails dev and build scripts

This commit is contained in:
QiuSW
2026-07-08 16:18:53 +08:00
parent a429353c42
commit 7c31554f64
33 changed files with 291 additions and 698 deletions
+17 -2
View File
@@ -94,12 +94,27 @@ go build -o bin\cmbone.exe .
wails3 dev
```
打包:
Wails 构建:
```powershell
wails3 package
wails3 build
```
Windows 快捷脚本:
```powershell
.\dev.bat
.\build.bat
```
Windows build 资源:
- `build/windows/wails.exe.manifest`
- `build/windows/info.json`
- `build/windows/icon.ico`
`wails3 build` 会重新生成 `frontend/bindings`,当前 CLI 生成的是 `.js` bindings。
## 版本升级规则
- 升级 Go 前,先确认 Wails v3 alpha、SQLite 和热键库的兼容性。