mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-10-23 07:09:41 +00:00
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.
7 lines
68 B
Text
7 lines
68 B
Text
node_modules/
|
|
dist/
|
|
release/
|
|
build/cli/
|
|
build/menubar/
|
|
*.log
|
|
.vite/
|