mirror of https://github.com/WerWolv/ImHex.git
store: Remove extracted tar content when deleting tar
This commit is contained in:
parent
e3cf364903
commit
1c321b7de2
|
@ -263,8 +263,10 @@ namespace hex {
|
|||
}
|
||||
|
||||
void ViewStore::remove(ImHexPath pathType, const std::string &fileName) {
|
||||
for (const auto &path : hex::getPath(pathType))
|
||||
for (const auto &path : hex::getPath(pathType)) {
|
||||
fs::remove(path / fs::path(fileName));
|
||||
fs::remove(path / fs::path(fileName).stem());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue