diff --git a/lib/libimhex/source/helpers/fs.cpp b/lib/libimhex/source/helpers/fs.cpp index bbd8e641e..9747b2841 100644 --- a/lib/libimhex/source/helpers/fs.cpp +++ b/lib/libimhex/source/helpers/fs.cpp @@ -188,7 +188,7 @@ namespace hex::fs { std::vector paths = { applicationSupportDir }; if (exePath) - paths.push_back(exePath->parent_path()); + paths.push_back(exePath); switch (path) { case ImHexPath::Patterns: