Merge pull request #1001 from ilyalopatkin/stop-downloading-older-updates

Stop downloading remote updates that are lower than the current version
This commit is contained in:
Paul Betts
2017-06-19 16:21:39 -07:00
committed by GitHub

View File

@@ -63,7 +63,7 @@ namespace Squirrel
return new UpdateInfo(null, new[] { latestFull }, packageDirectory);
}
if (currentVersion.Version == latestFull.Version) {
if (currentVersion.Version >= latestFull.Version) {
return new UpdateInfo(currentVersion, Enumerable.Empty<ReleaseEntry>(), packageDirectory);
}