From ab101673987a3d008b51e26fe6f519c6b77bc830 Mon Sep 17 00:00:00 2001 From: Brendan Campbell-Hartzell <50385408+b-camphart@users.noreply.github.com> Date: Sat, 7 Aug 2021 20:28:01 -0700 Subject: [PATCH] Fix for Window's stupid versioning requirements --- desktop/build.gradle.kts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/desktop/build.gradle.kts b/desktop/build.gradle.kts index 6225c29a1..2930610e4 100644 --- a/desktop/build.gradle.kts +++ b/desktop/build.gradle.kts @@ -74,12 +74,13 @@ runtime { "--icon", "\"Soyle Stories.ico\"" ) /* - Windows limits us to only three dots in the appVersion. In order for incremental builds to take advantage of - windows' automatic updating, it must always be a higher version number, even if it's just another build of the - same release candidate. So, we'll use the build date here and the actual, branded version number in the rest - of gradle. + Windows limits us to only three dots in the appVersion and a max of 255 for the first two numbers. Max of 65,535 + for the third number. In order for incremental builds to take advantage of windows' automatic updating, it must + always be a higher version number, even if it's just another build of the same release candidate. So, we'll + use the same major and minor numbers as the branded version, but each build number will increment and will + typically be out of sync with the branded version. */ - appVersion = "2021.08.07" + appVersion = "0.13.03" imageName = application.applicationName installerName = application.applicationName installerOptions = listOf(