feat(desktop): add secure electron shell with preload ipc and menu
This commit is contained in:
10
README.md
10
README.md
@@ -2,6 +2,16 @@
|
||||
|
||||
Electron desktop shell for Fabric.Frontend.
|
||||
|
||||
## 功能(当前)
|
||||
- BrowserWindow 基础配置(尺寸/最小尺寸/标题)
|
||||
- Dev/Prod 加载策略(dev server / 本地 offline.html)
|
||||
- 基础菜单与快捷键(刷新、开发者工具、退出)
|
||||
- 安全基线:`contextIsolation` + `sandbox` + 禁止任意新窗口/导航
|
||||
- `preload + IPC` 白名单:
|
||||
- `fabric:config:get`
|
||||
- `fabric:config:set`
|
||||
- `fabric:notify`
|
||||
|
||||
## Dev
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user