chore(plan): complete desktop shell security baseline and local config tasks

This commit is contained in:
nav
2026-05-12 16:13:11 +00:00
parent 9eb61d9b73
commit 001a82fb9d
2 changed files with 9 additions and 9 deletions

View File

@@ -48,18 +48,18 @@
## 2. DesktopElectron
### 2.1 桌面壳
- [ ] BrowserWindow 配置(尺寸、最小尺寸、标题)
- [ ] Dev/Prod 加载策略devServer / 本地包)
- [ ] 应用菜单与快捷键基础
- [x] BrowserWindow 配置(尺寸、最小尺寸、标题)
- [x] Dev/Prod 加载策略devServer / 本地包)
- [x] 应用菜单与快捷键基础
### 2.2 安全基线
- [ ] contextIsolation 保持开启
- [ ] preload + IPC 白名单(最小暴露)
- [ ] 禁止任意导航/新窗口策略
- [x] contextIsolation 保持开启
- [x] preload + IPC 白名单(最小暴露)
- [x] 禁止任意导航/新窗口策略
### 2.3 桌面能力
- [ ] 本地配置存储API Base/API Key
- [ ] 系统通知(新消息)
- [x] 本地配置存储API Base/API Key
- [x] 系统通知(新消息)
- [ ] 托盘与最小化到托盘(可选)
### 2.4 打包发布