mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
The stored path is a memory, not a fact. It was written by a build that derived the binary name from the product name, so on this machine it named a file that has never existed, and the switches sent --quit and --reload-settings into it while the desktop app's own stderr said ENOENT. A tray app uninstalled after the path was stored gets to the same place. So nothing is launched, and no Run value is written, without checking the file first. A stale stored path is re-resolved through the CLI rather than trusted, which costs one `codeburn menubar`: it re-reads the uninstall registry and installs nothing when the version already matches. A path the installer reports but nothing is at is refused rather than saved, since saving it is what made the switches silently do nothing. Launch at login gets the same treatment. The rule is still that an existing Run value is not this app's to rewrite, with one exception: a value pointing at a file that is not there is not somebody's preference, it is the old wrong path, and it would fail silently at every login. That one is repaired. While here: a byte order mark no longer makes the settings file unreadable. Falling back to the defaults means seeding again, which reinstalls the tray app and re-enables the rail, and a BOM is what anything editing that file by hand on Windows leaves behind. |
||
|---|---|---|
| .. | ||
| quota | ||
| cli-win32-reap.test.ts | ||
| cli.test.ts | ||
| cli.ts | ||
| main.test.ts | ||
| main.ts | ||
| menubar.test.ts | ||
| menubar.ts | ||
| preload.ts | ||
| telemetry.test.ts | ||
| telemetry.ts | ||
| updates.test.ts | ||
| updates.ts | ||