🐛 fix(windows-upgrade): 修复Windows升级后连接列表丢失问题

- 启动参数新增固定 WebviewUserDataPath 到 %APPDATA%/GoNavi/WebView2
- 首次启动自动迁移历史 WebView 数据目录
- 保留现有存储键,避免破坏已落盘配置
- 前端持久化读取增加历史结构兼容
- refs #125
This commit is contained in:
Syngnat
2026-02-27 10:45:57 +08:00
parent 96de46cf1e
commit 2f475dddc0
4 changed files with 162 additions and 8 deletions

View File

@@ -41,6 +41,7 @@ func main() {
BackdropType: windows.Acrylic,
DisableWindowIcon: false,
DisableFramelessWindowDecorations: false,
WebviewUserDataPath: resolveWindowsWebviewUserDataPath(),
},
Mac: &mac.Options{
WebviewIsTransparent: true,