Skip to content

Commit

Permalink
Fix for Window's stupid versioning requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
b-camphart committed Aug 8, 2021
1 parent e701aab commit ab10167
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions desktop/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ab10167

Please sign in to comment.