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,8 +308,6 @@ 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;
|
||||
|
||||
|
@ -317,7 +315,6 @@ namespace hex::plugin::builtin {
|
|||
m_download = m_httpRequest.downloadFile(fullPath);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!downloading) {
|
||||
ui::ToastError::open("hex.builtin.view.store.download_error"_lang);
|
||||
|
|
Loading…
Reference in New Issue