docs(desktop): 精简桌面端约束入口

This commit is contained in:
Cheng Zhou
2026-07-09 15:38:18 +08:00
parent fd4208d06f
commit 0c187a35fa
4 changed files with 12 additions and 252 deletions
+1 -1
View File
@@ -41,7 +41,7 @@
- `nginx` 负责托管前端静态资源,并将 `/api``/health` 转发到 `backend`
## macOS 桌面端开发
- 桌面端遵循 `docs/desktop-project-plan.md` 第一阶段边界:Tauri 在线客户端,不内嵌后端、不保存本地业务数据、不做离线同步。
- 桌面端约束集中在 `AGENTS.md`:Tauri 在线客户端,不内嵌后端、不保存本地业务权威数据、不做离线同步;在线辅助缓存必须遵守 `docs/desktop-local-cache-plan.md`
- 开发启动:进入 `frontend/` 后执行 `npm run desktop:dev`
- 生产构建:进入 `frontend/` 后执行 `npm run desktop:build`DMG 构建执行 `npm run desktop:bundle:dmg`
- 首次启动桌面端会要求配置 CTMS 服务端地址,并在保存前检查 `${serverUrl}/health`