mirror of https://github.com/WerWolv/ImHex.git
fix: Allow store to properly update files
This commit is contained in:
parent
db72ba295a
commit
8fcf08132e
|
@ -308,15 +308,12 @@ namespace hex::plugin::builtin {
|
|||
return false;
|
||||
}
|
||||
|
||||
log::info("{} file {}", update ? "Updating" : "Downloading", fullPath.string());
|
||||
if (!update || wolv::io::fs::exists(fullPath)) {
|
||||
downloading = true;
|
||||
m_downloadPath = fullPath;
|
||||
downloading = true;
|
||||
m_downloadPath = fullPath;
|
||||
|
||||
m_httpRequest.setUrl(url);
|
||||
m_download = m_httpRequest.downloadFile(fullPath);
|
||||
break;
|
||||
}
|
||||
m_httpRequest.setUrl(url);
|
||||
m_download = m_httpRequest.downloadFile(fullPath);
|
||||
break;
|
||||
}
|
||||
|
||||
if (!downloading) {
|
||||
|
|
Loading…
Reference in New Issue