mirror of
https://github.com/WowUp/WowUp.git
synced 2026-06-20 11:38:59 -04:00
Fix bug where the proper WowUp release channel version was not selected.
This commit is contained in:
@@ -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."
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user