mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user