fix: ImHex directories not being created correctly

This commit is contained in:
WerWolv
2022-01-12 09:02:03 +01:00
parent 6b20a9bdd5
commit 25df658653
3 changed files with 8 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ namespace hex::init {
};
for (auto path : paths) {
for (auto &folder : hex::getPath(path)) {
for (auto &folder : hex::getPath(path, true)) {
try {
std::filesystem::create_directories(folder);
} catch (...) {