mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 18:09:59 +03:00
fix: don't delete base directories when evicting metacache
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 564fca8c9b)
This commit is contained in:
parent
cb13b2ef4d
commit
349061e58c
3 changed files with 34 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ auto HttpMetaCache::evictAll() -> bool
|
|||
}
|
||||
map.entry_list.clear();
|
||||
// AND all return codes together so the result is true iff all runs of deletePath() are true
|
||||
ret &= FS::deletePath(map.base_path);
|
||||
ret &= FS::deleteContents(map.base_path);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue