mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-24 13:57:02 +00:00
Installing the .msi over an install of the same version left the old files exactly where they were, which makes `codeburn menubar --force` mean nothing: the one thing force is for is repairing an install that is already there. It is a WiX rule, and Tauri does expose it, just not under the name it goes by. Its main.wxs carries two MajorUpgrade elements and picks between them on allowDowngrades, which defaults to true. That branch is `AllowDowngrades="yes"` with no AllowSameVersionUpgrades; the other one is `DowngradeErrorMessage=... AllowSameVersionUpgrades="yes"`. So asking for no downgrades is what turns same-version upgrades on, and no custom template is needed. Refusing a downgrade at the installer is also the rule this codebase already follows a layer up: both the CLI's bundled install and the desktop app leave a newer menubar alone rather than replacing it. Now the .msi says the same thing by itself. |
||
|---|---|---|
| .. | ||
| dist | ||
| Scripts | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| DEVELOPMENT.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tokens.json | ||
| tsconfig.json | ||
| vite.config.ts | ||