Fix bug where the proper WowUp release channel version was not selected.

This commit is contained in:
jliddev
2020-09-23 16:59:10 -05:00
parent 426a0145c7
commit 03ffe6d8ae
3 changed files with 10 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
{
"ChangeLogs": [
{
"Version": "1.16.5",
"Description": "Fix bug where the proper WowUp release channel version was not selected."
},
{
"Version": "1.16.4",
"Description": "When using alpha/beta addons, the latest release will always be recommended even if its not the same release type."

View File

@@ -169,7 +169,11 @@ namespace WowUp.WPF.Services
return false;
}
var latestVersion = new Version(latestServerVersion.Version.TrimSemVerString());
var serverVersion = releaseChannel == WowUpReleaseChannelType.Stable
? latestServerVersion.Stable
: latestServerVersion.Beta;
var latestVersion = new Version(serverVersion.Version.TrimSemVerString());
var currentVersion = new Version(AppUtilities.LongVersionName.TrimSemVerString());
if (AppUtilities.IsBetaBuild && releaseChannel != WowUpReleaseChannelType.Beta)

View File

@@ -10,7 +10,7 @@
<PackageId>WowUp</PackageId>
<Authors>Jliddev</Authors>
<Product>WowUp</Product>
<Version>1.16.4</Version>
<Version>1.16.5</Version>
<ApplicationIcon>wowup_logo_512np_RRT_icon.ico</ApplicationIcon>
<Copyright>jliddev</Copyright>
<PackageProjectUrl>https://wowup.io</PackageProjectUrl>