mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
An app whose only surface is a tray icon has no handle anyone else can take hold of. The single-instance plugin already hands the running process the argv of whatever tried to start beside it, so that is the control channel: --quit exits, --reload-settings re-reads what is on disk, and anything else is still the plain relaunch that shows the popover. The desktop app that is about to bundle this one needs both. Its Menu bar switch stops the tray process; its Sidebar switch writes enabled into windows-dock.json and then asks a running app to notice, which without this would wait for the next launch. --quit at an app that is not running would otherwise start one and leave it there, so it is answered before anything is built rather than in the plugin callback that a first launch never reaches. |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||