codeburn/windows
iamtoruk eb6f5de6f0 fix(windows): --quit reaches a running app again
The early return that answered --quit before the Tauri builder ran also skipped
the thing that delivers it. Handing a second launch's argv to the instance that
is already running is the single-instance plugin's job, and the plugin only gets
to do it if the builder runs, so returning first meant the running app never
heard the request: the desktop app's Menu bar switch dropped the Run value and
sent --quit, and the tray app carried on.

It is answered in setup now, where a launch that reached that point is by
definition the only instance: with nothing running it is the one being asked to
go, and it exits without showing anything. With something running the plugin
delivers the argv and this process never reaches setup at all.

Found by driving the switch against the installed app rather than by a test: the
argv parsing this rests on was unit-tested and correct, and the delivery it
depends on was not something a unit test could see.
2026-09-02 07:55:25 -07:00
..
dist windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
Scripts windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
src feat(windows): the update checker stands down inside a Store package 2026-09-02 04:29:52 -07:00
src-tauri fix(windows): --quit reaches a running app again 2026-09-02 07:55:25 -07:00
.gitignore windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
DEVELOPMENT.md docs(windows): the update checker in DEVELOPMENT.md 2026-09-01 22:33:32 -07:00
index.html windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
package-lock.json chore: release 0.9.23 2026-08-29 01:22:46 -07:00
package.json chore: release 0.9.23 2026-08-29 01:22:46 -07:00
tokens.json windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
tsconfig.json windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
vite.config.ts windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00