44db5db838
- 保存文档版本原始文件名,规范下载响应并持久化上传目录\n- 增加 PDF.js 预览、桌面保存打开流程及统一错误反馈\n- 统一 Node.js 22.13 构建基线并收紧临时文件权限门禁\n- 补充迁移、单元测试、发布检查与运维文档
31 lines
731 B
JSON
31 lines
731 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Default capability for the CTMS desktop window.",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"dialog:allow-open",
|
|
"dialog:allow-save",
|
|
"fs:allow-read-file",
|
|
"fs:allow-write-file",
|
|
"fs:allow-mkdir",
|
|
"fs:allow-remove",
|
|
{
|
|
"identifier": "fs:scope",
|
|
"allow": [
|
|
{ "path": "$TEMP/ctms-desktop/**" }
|
|
]
|
|
},
|
|
"notification:allow-is-permission-granted",
|
|
"notification:allow-request-permission",
|
|
"notification:allow-notify",
|
|
{
|
|
"identifier": "opener:allow-open-path",
|
|
"allow": [
|
|
{ "path": "$TEMP/ctms-desktop/**" }
|
|
]
|
|
}
|
|
]
|
|
}
|