From 03fb1a3f987c74151f03e2a8d31bf1e72b3ce055 Mon Sep 17 00:00:00 2001 From: Sajid Date: Sat, 4 Apr 2020 18:43:28 +0600 Subject: [PATCH] Fix version check --- HedgeModManager/App.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HedgeModManager/App.xaml.cs b/HedgeModManager/App.xaml.cs index d97ac687..d281c765 100644 --- a/HedgeModManager/App.xaml.cs +++ b/HedgeModManager/App.xaml.cs @@ -448,7 +448,7 @@ public static (bool, ReleaseInfo) CheckForUpdates() { var info = GithubAPI.GetLatestRelease(RepoOwner, RepoName); var version = info == null ? Version : info.GetVersion(); - bool hasUpdate = version.Major >= Version.Major && (version.Minor > Version.Minor || version.Revision > Version.Revision); + bool hasUpdate = version > Version; return (hasUpdate, info); }