codeburn/windows/src-tauri/src
iamtoruk 527340b686 feat(windows): the update checker stands down inside a Store package
The desktop app's Store build ships this tray app inside its own MSIX package,
and a package updates as one thing. An .msi install underneath it would be
refused at worst and undone by the next Store update at best, so the check does
not run there at all: no request to GitHub, no `codeburn --version` spawn, no
cache file on disk.

GetCurrentPackageFullName is the documented ask, which is why the length is
requested with no buffer to put it in: outside a package it answers
APPMODEL_ERROR_NO_PACKAGE, inside one it complains about the buffer.

storeManaged travels with the status so the surfaces go quiet rather than
inventing a silence of their own: the header badge hides, About says where
updates come from instead of offering two buttons that can do nothing, and the
tray menu does not carry Check for Updates at all. The CLI banner needed no
change, since it reads cliUpdateAvailable, which a store-managed status leaves
false.
2026-09-02 04:29:52 -07:00
..
autostart.rs windows: fix the security and correctness findings from the import audit 2026-08-18 04:10:07 -07:00
cli.rs feat(windows): export into Downloads and reveal what came out 2026-09-02 00:17:50 -07:00
config.rs feat(windows): a settings window, with General, About and provider panes 2026-09-01 19:49:37 -07:00
dock.rs fix(windows): the rail keeps its edge while the size changes 2026-09-02 01:29:53 -07:00
fx.rs windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
lib.rs feat(windows): the update checker stands down inside a Store package 2026-09-02 04:29:52 -07:00
main.rs windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
plan.rs windows: fix the security and correctness findings from the import audit 2026-08-18 04:10:07 -07:00
refresh.rs feat(windows): a background refresh with nothing new to read is skipped 2026-09-01 23:27:35 -07:00
session.rs feat(windows): no background refresh while nobody can see the tray 2026-09-01 23:00:09 -07:00
settings.rs fix(windows): the daily budget lives where the CLI keeps it 2026-09-02 00:51:59 -07:00
tray_badge.rs feat(windows): the tray says when a paired device did not report 2026-09-02 01:39:10 -07:00
tray_linux.rs windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
tray_status.rs fix(windows): the daily budget lives where the CLI keeps it 2026-09-02 00:51:59 -07:00
update.rs feat(windows): the update checker stands down inside a Store package 2026-09-02 04:29:52 -07:00
usage_guard.rs chore(windows): remove what nothing reads 2026-09-02 00:23:16 -07:00