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>
56 lines
1.4 KiB
JSON
56 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/nicegui/nicegui/main/nicegui/static/tauri-schema-v2.json",
|
|
"productName": "Claude Code Haha",
|
|
"version": "0.1.0",
|
|
"identifier": "com.claude-code.desktop",
|
|
"build": {
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeDevCommand": "bun run build:sidecars && bun run dev",
|
|
"beforeBuildCommand": "bun run build && bun run build:sidecars"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "Claude Code Haha",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"minWidth": 900,
|
|
"minHeight": 600,
|
|
"decorations": true,
|
|
"titleBarStyle": "Overlay",
|
|
"hiddenTitle": true,
|
|
"transparent": false,
|
|
"acceptFirstMouse": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"externalBin": [
|
|
"binaries/claude-server",
|
|
"binaries/claude-cli"
|
|
],
|
|
"resources": {
|
|
"../../src/": "app/src/",
|
|
"../../node_modules/": "app/node_modules/",
|
|
"../../package.json": "app/package.json",
|
|
"../../tsconfig.json": "app/tsconfig.json",
|
|
"../../bunfig.toml": "app/bunfig.toml",
|
|
"../../preload.ts": "app/preload.ts",
|
|
"../../stubs/": "app/stubs/"
|
|
},
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
}
|
|
}
|