mirror of
https://github.com/tiennm99/claude-code-usage-bubble.git
synced 2026-06-06 14:12:14 +00:00
f1dfe15000
One-click relaunch of the running binary via a detached cmd.exe handoff: timeout /t 1 /nobreak >/dev/null & start "" "<exe>" — the 1s wait outlives the parent so the relaunched instance acquires Global\ClaudeCodeUsageBubble without ERROR_ALREADY_EXISTS. - New IDM_RESTART (33) wired into show_context_menu + on_menu_command. - Match arm placed above the IDM_LANG_BASE guard so future ids in the static band can't be swallowed by the dynamic-language catch-all. - Settings flushed defensively before quit (clone-then-save to avoid blocking the UI thread on disk I/O while holding lock_state). - Rejects current_exe paths containing '%' (same defense as update::install — cmd.exe expands %var% inside quotes). - New 'restart' string in LocaleStrings + translation in all 8 locales.