feat(windows): pin the WiX upgrade code the msi has always carried

The upgrade code is what tells Windows Installer that two .msi files are the
same product, and it is about to matter: the desktop app will ship this build
and install it over whatever a manual `codeburn menubar` already put there.
With one upgrade code that is an in-place upgrade; with two it is a second copy
of the tray app beside the first.

Tauri derives the code from a v5 UUID over "<productName>.exe.app.x64" when the
config does not name one, so the value written here is the one every released
.msi already carries (`tauri inspect wix-upgrade-code` reports the override and
the derived default as the same GUID). Nothing about existing installs changes.
What changes is that renaming the product can no longer move it by accident.
This commit is contained in:
iamtoruk 2026-09-02 04:30:20 -07:00
parent 527340b686
commit 2fb76dc4cf

View file

@ -51,6 +51,11 @@
"icons/icon.png",
"icons/icon.ico"
],
"windows": {
"wix": {
"upgradeCode": "cfe9191d-31ea-5040-83c8-cefd2a10b703"
}
},
"linux": {
"deb": {
"depends": ["libwebkit2gtk-4.1-0", "libayatana-appindicator3-1"]