From e85746ddbaefb45d358b2406d0f0a8b67ef65561 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 24 Jun 2024 14:27:24 +0200 Subject: [PATCH] fix: Data paths being stored in config paths instead --- lib/libimhex/source/helpers/default_paths.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);