Skip to content

v1.0.7-release

Choose a tag to compare

@helloAping helloAping released this 24 Jul 04:05
· 66 commits to master since this release
Immutable release. Only release title and notes can be modified.
Fix tray close confirmation flow

将窗口关闭确认从 Wails 原生 MessageDialog 改为前端应用内弹窗,避免 OnBeforeClose 中同步弹窗导致确认后无法关闭。

本次提交新增 app:close-request 事件和 ConfirmWindowClose/CancelWindowClose 绑定,由前端勾选框决定收缩到托盘或直接退出;同时保留托盘可用性判断和退出路径的 server 清理。

纳入 docs/tray-residency-plan.md 作为托盘驻留落地计划文档。

验证:
- go test -count=1 ./...
- go test -count=1 . (cmd/pchat-gui)
- npx vue-tsc -b
- npm run build
- task build:gui