codeburn/app/scripts
iamtoruk d59802c1ec feat(app): ship the tray app with the Windows desktop builds
stage-menubar.mjs is stage-cli.mjs for the Tauri tray app: it copies rather than
downloads, taking the local `cargo tauri build` output by default and whatever
CI fetched with --from. The two routes need different things staged, so it has
two shapes. The NSIS build gets the .msi and its .sha256, computing the digest
when a local build has none, so the installer's verification means the same
thing there as it does for a release. The Store build gets the executable, since
a packaged app cannot run msiexec at all.

build/menubar rides into both packages as win.extraResources. Unlike the CLI it
carries no node_modules, so electron-builder's production-dependency filter has
nothing to strip and the afterPack hook is not needed.

installer.nsh removes the tray app on uninstall only when the marker credits
this app with installing it, which is what keeps a manual `codeburn menubar`
install alive through a desktop uninstall. PowerShell reads the marker and pulls
the product code out of the uninstall string, because NSIS has no JSON and the
alternative was hand-parsing one in a macro.

appx-extensions.xml declares the tray app's launch at login as the package's own
windows.startupTask, so it appears in Settings > Apps > Startup like anything
else the Store installed. No Run value is written on that route.
2026-09-02 04:48:03 -07:00
..
after-pack.cjs feat(app): bundle the CLI inside the packaged app 2026-07-16 09:27:46 -07:00
buildStamp.test.ts fix(app): clean build stamp, splash without hash, About checks for updates 2026-07-17 14:30:00 -07:00
buildStamp.ts fix(app): clean build stamp, splash without hash, About checks for updates 2026-07-17 14:30:00 -07:00
snap-grants.test.ts snap: narrow session-log grants to what the parsers read and drop the Copilot credential root 2026-09-01 09:56:03 -07:00
stage-cli.mjs fix(desktop): harden packaged resident CLI routing (#1155) 2026-08-28 13:19:29 -07:00
stage-menubar.mjs feat(app): ship the tray app with the Windows desktop builds 2026-09-02 04:48:03 -07:00
verify-windows-installer.mjs fix(release): verify all desktop assets 2026-08-13 20:01:00 +05:30
verify-windows-installer.test.ts fix(release): verify all desktop assets 2026-08-13 20:01:00 +05:30
windows-installer-paths.d.mts fix(release): harden Windows installer verification 2026-08-13 19:47:31 +05:30
windows-installer-paths.mjs fix(release): harden Windows installer verification 2026-08-13 19:47:31 +05:30