mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 10:43:47 +00:00
The reboot-pending flag lived in memory with a comment claiming the restart it waits for also clears it. Quitting the desktop app and opening it again cleared it too, and that is not the restart being waited for, so the next launch started the old tray binary under the new version's name, which is the confusion the flag exists to prevent. It is saved as a timestamp now and read back by comparing it against when Windows last booted, so only a real restart clears it. The test that asserted the old behaviour crossed the boundary by restarting the app; it now moves the boot time, and a second test covers restarting the app without restarting Windows. |
||
|---|---|---|
| .. | ||
| quota | ||
| cli-win32-reap.test.ts | ||
| cli-win32-tree-kill.test.ts | ||
| cli.test.ts | ||
| cli.ts | ||
| main.test.ts | ||
| main.ts | ||
| menubar.test.ts | ||
| menubar.ts | ||
| preload.ts | ||
| telemetry.test.ts | ||
| telemetry.ts | ||
| tray-settings-atomic.test.ts | ||
| tray-settings.test.ts | ||
| tray-settings.ts | ||
| updates.test.ts | ||
| updates.ts | ||