Fix dev build update check

This commit is contained in:
Jaex 2023-01-29 09:11:48 +03:00
parent 1c9783702a
commit 008b95b721

View file

@ -71,7 +71,7 @@ public void RefreshStatus()
} }
if (Status != UpdateStatus.UpdateCheckFailed && CurrentVersion != null && LatestVersion != null && !string.IsNullOrEmpty(DownloadURL) && if (Status != UpdateStatus.UpdateCheckFailed && CurrentVersion != null && LatestVersion != null && !string.IsNullOrEmpty(DownloadURL) &&
(ForceUpdate || Helpers.CompareVersion(CurrentVersion, LatestVersion) < 0 || (IsDev && Helpers.CompareVersion(CurrentVersion, LatestVersion) == 0))) (ForceUpdate || Helpers.CompareVersion(CurrentVersion, LatestVersion) < 0))
{ {
Status = UpdateStatus.UpdateAvailable; Status = UpdateStatus.UpdateAvailable;
} }