fix(tauri): grant desktop-pet capability
The `desktop-pet` window is created at startup but was absent from the capability window list, so every IPC call and event listener it made was rejected by the Tauri ACL. Because those calls are issued as `void invoke(...)` the rejections were swallowed, and the pet silently lost its runtime status link, dragging, context menu, and preference handling. Refs P1-13 / F-03. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
这个提交存在于:
父节点
28ec3001ac
当前提交
def5e92802
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -2,6 +2,6 @@
|
|||
"$schema": "../gen/schemas/desktop-schema.json",
|
||||
"identifier": "default",
|
||||
"description": "Minimal capability set for the main AstrBot Desktop window.",
|
||||
"windows": ["main", "quick-chat", "status-bubble"],
|
||||
"windows": ["main", "quick-chat", "status-bubble", "desktop-pet"],
|
||||
"permissions": ["core:default"]
|
||||
}
|
||||
|
|
|
|||
正在加载…
添加表格
在新工单中引用