mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
store: Remove extracted tar content when deleting tar
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user