Files
Genarrative/apps/ai-game-creator-shell/src-tauri/capabilities/main.json
T
k88936 109bd00338
Project CI / Repository checks (pull_request) Successful in 2m59s
Project CI / Frontend tests (pull_request) Successful in 3m54s
Project CI / Backend tests (pull_request) Successful in 4m19s
Project CI / Native shell tests (pull_request) Failing after 11m20s
新增“保存并复制 JSON 结构”
支持保存 UI 状态后复制其格式化 JSON 到剪贴板,成功与失败均提供清晰反馈。
2026-08-19 17:40:27 +08:00

27 lines
826 B
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "main",
"description": "AI 游戏创作主窗口允许读取系统剪贴板内容以粘贴素材,并写入 UI 设计 JSON。",
"windows": ["client"],
"permissions": [
"clipboard-manager:allow-read-image",
"clipboard-manager:allow-read-text",
"clipboard-manager:allow-write-text",
"core:image:allow-rgba",
"core:image:allow-size",
"core:resources:allow-close",
{
"identifier": "http:default",
"allow": [
{ "url": "https://dev.genarrative.world/api/*" },
{ "url": "https://www.genarrative.world/api/*" },
{ "url": "https://*/api/*" },
{ "url": "http://localhost:*/*" },
{ "url": "http://127.0.0.1:*/*" }
]
},
"opener:default",
"dialog:allow-open"
]
}