mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-14 17:40:26 -05:00
Let http synchronizations overwrite files
This commit is contained in:
@@ -206,7 +206,9 @@ bool HttpSynchronization::trySyncFromUrl(std::string listUrl) {
|
||||
ghoul::filesystem::FileSystem::PathSeparator +
|
||||
filename;
|
||||
|
||||
downloads.push_back(std::make_unique<AsyncHttpFileDownload>(line, fileDestination));
|
||||
downloads.push_back(std::make_unique<AsyncHttpFileDownload>(
|
||||
line, fileDestination, HttpFileDownload::Overwrite::Yes));
|
||||
|
||||
auto& fileDownload = downloads.back();
|
||||
|
||||
++nDownloads;
|
||||
|
||||
Reference in New Issue
Block a user