docs: note the embedded desktop subproject in the project layout

Point the project-structure section at desktop/, clarify it is an
independent Cargo workspace (excluded from the backend crate), and link
to desktop/README.md for build steps.
This commit is contained in:
boos
2026-06-22 11:33:03 +08:00
parent e0a5f57793
commit b41bfd4d49
+7
View File
@@ -347,9 +347,16 @@ docker compose up -d
│ │ └── ...
│ └── components/
├── website/ # 独立官网(Next.js 16 App Router + React 19)
├── desktop/ # BoosAPI Desktop 桌面客户端(Tauri + Vue,独立 Cargo workspace)
└── dist/web/ # 前端构建产物(由 Rust serve)
```
> **`desktop/` 子项目**:内置的 BoosAPI Desktop 跨平台桌面客户端(Tauri + Vue 前端 +
> 独立的 `src-tauri/` Rust workspace)。它**自带独立的 Cargo workspace**,不属于后端
> `boosapi` crate——在 metapi 根 `cargo check` 只编译后端,桌面端需进入
> `desktop/src-tauri` 单独构建。构建步骤见 [`desktop/README.md`](desktop/README.md)。
> 注:桌面端图标目前仍是占位资源,待替换为正式 BoosAPI logo。
## 🔧 环境变量
所有配置通过环境变量覆盖,命名规则:`BOOSAPI_<SECTION>__<KEY>`(双下划线分隔层级):