mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
Installing the desktop app should give a person the tray icon and the Capacity Dock without their ever learning that `codeburn menubar` exists. So it carries the matching windows-v* build and puts it there itself, at first launch and at every launch after, which is also what covers a desktop-app update: the staged .msi travels with the app. The install itself is not reimplemented here. The CLI already owns the registry read, the checksum, the msiexec call and the never-downgrade rule, so this side stages the file, names it in CODEBURN_MENUBAR_MSI and reads the one JSON line that comes back. What it does own is the tray app's process and its Run value, because the two sidebar switches have to be able to stop and start it: the tray app is reached through its own argv, --quit to stop and --reload-settings to make it re-read the dock preference this module writes. The Store route shares almost none of that. msiexec is not available to a packaged app and would fight the package manager anyway, so the tray exe ships inside the package and is launched from there, and no Run value is written because the manifest's own startup task covers launch at login. Two rules worth naming. The defaults are seeded once, so a person who later turns the rail off in the tray app's own settings does not find it back on at the next launch of this one. And every setter answers with the whole status rather than an acknowledgement, so a switch shows what took: an install cancelled at the UAC prompt leaves it where it was. |
||
|---|---|---|
| .. | ||
| budget.ts | ||
| build.ts | ||
| format.test.ts | ||
| format.ts | ||
| ipc.ts | ||
| modelSeries.ts | ||
| motion.test.tsx | ||
| motion.ts | ||
| overviewSnapshot.test.ts | ||
| overviewSnapshot.ts | ||
| pageVisibility.test.ts | ||
| pageVisibility.ts | ||
| period.test.ts | ||
| period.ts | ||
| platform.ts | ||
| providers.ts | ||
| refreshCadence.test.ts | ||
| refreshCadence.tsx | ||
| reportMemoKey.test.ts | ||
| reportMemoKey.ts | ||
| testMatchMedia.ts | ||
| toast.ts | ||
| types.ts | ||