mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
impr: Properly delete old update files
This commit is contained in:
@@ -75,7 +75,7 @@ std::optional<std::fs::path> downloadUpdate(const std::string &url) {
|
||||
{
|
||||
// Loop over all available paths
|
||||
wolv::io::File file;
|
||||
for (const auto &path : hex::paths::Config.write()) {
|
||||
for (const auto &path : hex::paths::Updates.write()) {
|
||||
// Remove any existing update files
|
||||
wolv::io::fs::remove(path / updateFileName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user