codeburn/windows
iamtoruk 076dc1d960 fix(windows): reinstalling the same version replaces the files
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.
2026-09-02 06:08:46 -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): reinstalling the same version replaces the files 2026-09-02 06:08:46 -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