Skip to content

Commit 726fc05

Browse files
authored
Merge pull request LykosAI#1263 from LykosAI/main
v2.14.1 for real
2 parents 611c8b5 + 93ca156 commit 726fc05

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2
1818
- Fixed incorrect ROCmLibs being installed for RX 6800/6800XT users of Comfy-Zluda or AMDGPU-Forge
1919
- Fixed missing text when missing localized versions for Italian and Chinese languages
2020
- Fixed Python Packages dialog errors and potentially other issues due to concurrent OnLoaded events
21+
### Supporters
22+
#### 🌟 Visionaries
23+
Big cheers to our incredible Visionary-tier Patrons: **bluepopsicle**, **Bob S**, **Ibixat**, **Waterclouds**, and **Corey T**! 🚀 Your amazing support lets us dream bigger and reach further every single month. Thanks for being the driving force behind Stability Matrix - we genuinely couldn't do it without you!
24+
#### 🚀 Pioneers
25+
Huge thanks to our fantastic Pioneer-tier Patrons: **tankfox**, **Mr. Unknown**, **Szir777**, **Tigon**, and **Noah M**! Special shoutout and welcome back to **TheTekknician**, and a warm welcome aboard to our newest Pioneers: **USATechDude**, **SeraphOfSalem**, and **Thom**! ✨ Your continued support keeps our community vibrant and pushes us to keep creating. You all rock!
2126

2227
## v2.14.0
2328
### Added

StabilityMatrix.Avalonia/Models/UpdateChannelCard.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ public partial class UpdateChannelCard : ObservableObject
2020
[NotifyPropertyChangedFor(nameof(IsLatestVersionUpdateable))]
2121
private SemVersion? latestVersion;
2222

23-
public string? LatestVersionString =>
24-
LatestVersion is null ? null : $"Latest: v{LatestVersion}";
23+
public string? LatestVersionString => LatestVersion is null ? null : $"Latest: v{LatestVersion}";
2524

2625
[ObservableProperty]
2726
private bool isSelectable = true;
@@ -49,6 +48,12 @@ public bool IsLatestVersionUpdateable
4948
var updateHash = LatestVersion.Metadata;
5049
var appHash = Compat.AppVersion.Metadata;
5150

51+
// Always assume update if (We don't have hash && Update has hash)
52+
if (string.IsNullOrEmpty(appHash) && !string.IsNullOrEmpty(updateHash))
53+
{
54+
return true;
55+
}
56+
5257
// Trim both to the lower length, to a minimum of 7 characters
5358
var minLength = Math.Min(7, Math.Min(updateHash.Length, appHash.Length));
5459
updateHash = updateHash[..minLength];

StabilityMatrix.Core/Updater/UpdateHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ private bool ValidateUpdate(UpdateInfo? update)
277277
var appHash = Compat.AppVersion.Metadata;
278278

279279
// Always assume update if (We don't have hash && Update has hash)
280-
if (string.IsNullOrEmpty(updateHash) && !string.IsNullOrEmpty(appHash))
280+
if (string.IsNullOrEmpty(appHash) && !string.IsNullOrEmpty(updateHash))
281281
{
282282
return true;
283283
}

0 commit comments

Comments
 (0)