claude-usage-widget/src-tauri/tauri.conf.json
megaproxy 160e08d4a8 Suppress console-window flash on subprocess spawn (CREATE_NO_WINDOW); bump 0.1.2
paths::quiet_command sets CREATE_NO_WINDOW (0x08000000) on Windows so
short-lived child processes (wsl.exe -l -q, where claude, wsl.exe -d X
bash -lc 'command -v claude') don't briefly allocate a real console
window and flash on click. Used by both paths.rs and cli_usage.rs.
2026-05-09 16:03:40 +01:00

52 lines
1.5 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Claude Usage Widget",
"version": "0.1.2",
"identifier": "com.megaproxy.claude-usage-widget",
"build": {
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build",
"devUrl": "http://localhost:1420",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"label": "main",
"title": "Claude Usage",
"width": 300,
"height": 320,
"minWidth": 220,
"minHeight": 240,
"resizable": true,
"decorations": false,
"transparent": true,
"alwaysOnTop": true,
"skipTaskbar": true,
"shadow": false,
"center": false,
"x": 40,
"y": 40,
"visible": true
}
],
"security": {
"csp": "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self'"
}
},
"plugins": {},
"bundle": {
"active": true,
"targets": ["nsis"],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"category": "Utility",
"shortDescription": "At-a-glance Claude Code usage on the Windows desktop",
"longDescription": "Floating, always-on-top widget that visualizes your current 5-hour Claude Code session block, the past 7 days of usage, and a per-model breakdown. Reads JSONL transcripts directly from the Claude Code config directory — no Anthropic API, no auth."
}
}