mirror of
https://github.com/WowUp/WowUp.git
synced 2026-06-20 11:38:59 -04:00
Alpha/Beta version match bug.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
{
|
||||
"ChangeLogs": [
|
||||
"ChangeLogs": [
|
||||
{
|
||||
"Version": "1.16.2",
|
||||
"Description": "Fix an issue with Alpha/Beta addons not being properly selected."
|
||||
},
|
||||
{
|
||||
"Version": "1.16.1",
|
||||
"Description": "Default addon channel can now be set separately per World of Warcraft client.\nAddons can now be set to auto update by default per World of Warcraft client.\nAttempt to make updating safer with rollback ability.\nContext information added to the bottom screen bar.\nSmall indicator for auto updated addons.\nWhen closing WowUp maximized it should start back up maximized.\nUI updates.\nBug Fixes."
|
||||
|
||||
@@ -193,9 +193,14 @@ namespace WowUp.WPF.Services
|
||||
|
||||
private AddonSearchResultFile GetLatestFile(AddonSearchResult searchResult, AddonChannelType channelType)
|
||||
{
|
||||
var exactMatch = searchResult.Files.FirstOrDefault(lf => lf.ChannelType == channelType);
|
||||
if (exactMatch != null)
|
||||
{
|
||||
return exactMatch;
|
||||
}
|
||||
|
||||
return searchResult.Files
|
||||
.Where(lf => lf.ChannelType <= channelType)
|
||||
.FirstOrDefault();
|
||||
.FirstOrDefault(lf => lf.ChannelType <= channelType);
|
||||
}
|
||||
|
||||
public async Task<PotentialAddon> GetAddonByUri(
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<PackageId>WowUp</PackageId>
|
||||
<Authors>Jliddev</Authors>
|
||||
<Product>WowUp</Product>
|
||||
<Version>1.16.1</Version>
|
||||
<Version>1.16.2</Version>
|
||||
<ApplicationIcon>wowup_logo_512np_RRT_icon.ico</ApplicationIcon>
|
||||
<Copyright>jliddev</Copyright>
|
||||
<PackageProjectUrl>https://wowup.io</PackageProjectUrl>
|
||||
|
||||
Reference in New Issue
Block a user