chore(plan): complete desktop shell security baseline and local config tasks
This commit is contained in:
@@ -48,18 +48,18 @@
|
||||
## 2. Desktop(Electron)
|
||||
|
||||
### 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 打包发布
|
||||
|
||||
Reference in New Issue
Block a user