mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
Add core🪟allow-start-dragging permission and acceptFirstMouse
config to fix window dragging on macOS with overlay title bar. Also add
JS-based startDragging() fallback in AppShell and Sidebar.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
36 lines
838 B
JSON
36 lines
838 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/nicegui/nicegui/main/nicegui/static/tauri-capabilities-schema-v2.json",
|
|
"identifier": "default",
|
|
"description": "Default capabilities for Claude Code Desktop",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"core:window:allow-start-dragging",
|
|
"shell:allow-open",
|
|
{
|
|
"identifier": "shell:allow-execute",
|
|
"allow": [
|
|
{
|
|
"args": true,
|
|
"name": "binaries/claude-server",
|
|
"sidecar": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "shell:allow-spawn",
|
|
"allow": [
|
|
{
|
|
"args": true,
|
|
"name": "binaries/claude-server",
|
|
"sidecar": true
|
|
}
|
|
]
|
|
},
|
|
"dialog:allow-open",
|
|
"dialog:allow-save",
|
|
"process:allow-exit",
|
|
"process:allow-restart"
|
|
]
|
|
}
|