diff --git a/lib/libimhex/source/helpers/default_paths.cpp b/lib/libimhex/source/helpers/default_paths.cpp index 62cf32af4..c8929472d 100644 --- a/lib/libimhex/source/helpers/default_paths.cpp +++ b/lib/libimhex/source/helpers/default_paths.cpp @@ -131,11 +131,11 @@ namespace hex::paths { } std::vector DataPath::all() const { - return appendPath(getConfigPaths(true), m_postfix); + return appendPath(getDataPaths(true), m_postfix); } std::vector DataPath::write() const { - auto result = appendPath(getConfigPaths(false), m_postfix); + auto result = appendPath(getDataPaths(false), m_postfix); std::erase_if(result, [](const auto &entryPath) { return !hex::fs::isPathWritable(entryPath);