mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
updater: Deduplicate delta patch downloads
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user