codeburn/windows/src-tauri/tauri.conf.json
iamtoruk 2fb76dc4cf 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.
2026-09-02 04:30:20 -07:00

65 lines
1.8 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "CodeBurn Menubar",
"version": "0.9.23",
"identifier": "org.agentseal.codeburn-menubar",
"build": {
"beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "npm run build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"label": "popover",
"title": "CodeBurn",
"width": 384,
"height": 684,
"decorations": false,
"transparent": true,
"resizable": false,
"alwaysOnTop": true,
"skipTaskbar": true,
"visible": false,
"focus": false,
"shadow": false
}
],
"security": {
"csp": "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; font-src 'self' data:; connect-src 'self' ipc: https://api.frankfurter.app"
},
"trayIcon": {
"id": "codeburn-tray",
"iconPath": "icons/tray.png",
"iconAsTemplate": false,
"tooltip": "CodeBurn"
}
},
"bundle": {
"active": true,
"category": "Utility",
"shortDescription": "AI coding cost tracker",
"longDescription": "Shows today's AI coding spend in your system tray. Popover breaks down cost by activity, model, and provider across Claude Code, Cursor, Codex, and more.",
"publisher": "AgentSeal",
"homepage": "https://github.com/getagentseal/codeburn",
"targets": ["deb", "rpm", "appimage", "msi"],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.png",
"icons/icon.ico"
],
"windows": {
"wix": {
"upgradeCode": "cfe9191d-31ea-5040-83c8-cefd2a10b703"
}
},
"linux": {
"deb": {
"depends": ["libwebkit2gtk-4.1-0", "libayatana-appindicator3-1"]
}
}
}
}