Skip to content

Commit 21829a3

Browse files
author
Ilya Lopatkin
committed
Stop downloading remote updates that are lower than the current version
1 parent 8877944 commit 21829a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Squirrel/UpdateInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static UpdateInfo Create(ReleaseEntry currentVersion, IEnumerable<Release
6363
return new UpdateInfo(null, new[] { latestFull }, packageDirectory);
6464
}
6565

66-
if (currentVersion.Version == latestFull.Version) {
66+
if (currentVersion.Version >= latestFull.Version) {
6767
return new UpdateInfo(currentVersion, Enumerable.Empty<ReleaseEntry>(), packageDirectory);
6868
}
6969

0 commit comments

Comments
 (0)