updater: Deduplicate delta patch downloads

This commit is contained in:
derrod
2023-01-29 02:24:55 -08:00
committed by Jim
parent cbe3ef7e57
commit cd78ecae50
-3
View File
@@ -1637,9 +1637,6 @@ static bool Update(wchar_t *cmdLine)
unordered_set<wstring> tempFiles;
for (update_t &update : updates) {
if (update.patchable)
continue;
if (tempFiles.count(update.tempPath)) {
update.state = STATE_ALREADY_DOWNLOADED;
totalFileSize -= update.fileSize;