fix: Cannot Upgrade on `Windows` (#243)

Signed-off-by: MSDNicrosoft <wang3311835119@hotmail.com>
This commit is contained in:
MSDNicrosoft 2024-05-03 14:15:54 +08:00
parent 285fb72cc7
commit b9148d0965
No known key found for this signature in database
GPG Key ID: 24FD8EF92E9C9374
1 changed files with 6 additions and 0 deletions

View File

@ -78,6 +78,12 @@ compose.desktop {
}
windows {
iconFile.set(project.file("icon.ico"))
// The UUID is used with `Windows Installer` to identify
// products, components, upgrades, and other key elements of the installation process.
// See:
// https://wixtoolset.org/docs/v3/howtos/general/generate_guids/
upgradeUuid = "846C6281-F349-4833-9E0E-AAE1C06006A0"
}
linux {
iconFile.set(project.file("icon.png"))