mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-16 19:14:37 +12:00
Fix dev build update check
This commit is contained in:
parent
1c9783702a
commit
008b95b721
|
@ -71,7 +71,7 @@ public void RefreshStatus()
|
|||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue