mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-22 17:24:27 +08:00
Add automatic release version stamping and multiple launcher reliability improvements. The Release workflow now runs scripts/Set-ReleaseVersion.ps1 in build jobs to inject tag-derived Version/AssemblyVersion into project metadata; several .csproj/Directory.Build.props and app.manifest files were changed to use a dev placeholder. Introduced AppVersionProvider (and related runtime metadata) to centralize version resolution and updated DeploymentLocator to use it and to prefer package-root/version.json. Launcher startup flow was hardened: added startup success tracking, public-activation recovery path, improved success/fallback semantics, and related IPC handling. UI/UX fixes include OOBE entrance/exit animation improvements (scaling-aware, concurrent fade+translate) and minor window lifecycle reorder in DesktopShellHost. CommandContext now recognizes restart and key=value args. New DesktopTrayService and .trae spec files (spec, checklist, tasks) document shell/tray hardening work. Miscellaneous logging, comments and housekeeping edits across launcher and shared contracts to support the above.
15 lines
979 B
Markdown
15 lines
979 B
Markdown
# 任务拆解
|
||
|
||
- [x] 为 Launcher/宿主共享新增重启来源、父进程和展示模式参数。
|
||
- [x] 修复 Launcher 对 `SecondaryActivationSucceeded` 的重复 fallback 拉起。
|
||
- [x] 让 Launcher 成功判定支持 `TrayReady` 与 `BackgroundReady`。
|
||
- [x] 应用重启默认优先回到 Launcher,而不是直接回拉宿主 exe。
|
||
- [x] 抽出独立托盘服务,集中处理创建、刷新、watchdog 与状态流转。
|
||
- [x] 在进入 `TrayOnly` 前增加托盘就绪校验与回退策略。
|
||
- [x] 为运行中托盘丢失增加 watchdog 和自动恢复逻辑。
|
||
- [x] 统一公共 IPC、设置页与 Launcher 的版本读取入口。
|
||
- [x] 将仓库默认版本改为开发占位值,并在 Release 工作流中加入显式打版本步骤。
|
||
- [x] 修复主窗口入场、通知定位和 Launcher OOBE 的高分屏动画/定位问题。
|
||
- [x] 补充规格与版本同步说明文档。
|
||
- [ ] 追加针对托盘恢复和启动判定的自动化回归测试。
|