Fix version comparison in auto update (#3889)

This commit is contained in:
Max Brunsfeld
2024-01-04 10:01:07 -08:00
committed by GitHub
+1 -1
View File
@@ -270,7 +270,7 @@ impl AutoUpdater {
ReleaseChannel::Nightly => cx
.try_read_global::<AppCommitSha, _>(|sha, _| release.version != sha.0)
.unwrap_or(true),
_ => release.version.parse::<SemanticVersion>()? <= current_version,
_ => release.version.parse::<SemanticVersion>()? > current_version,
};
if !should_download {