From b9148d0965798424d60203f0a67e5e782b064f96 Mon Sep 17 00:00:00 2001 From: MSDNicrosoft Date: Fri, 3 May 2024 14:15:54 +0800 Subject: [PATCH] fix: Cannot Upgrade on `Windows` (#243) Signed-off-by: MSDNicrosoft --- desktopApp/build.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/desktopApp/build.gradle.kts b/desktopApp/build.gradle.kts index 593285b9..bd7a6960 100644 --- a/desktopApp/build.gradle.kts +++ b/desktopApp/build.gradle.kts @@ -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"))