diff --git a/loader/include/Geode/utils/file.hpp b/loader/include/Geode/utils/file.hpp index db75caf8..81996c66 100644 --- a/loader/include/Geode/utils/file.hpp +++ b/loader/include/Geode/utils/file.hpp @@ -17,7 +17,7 @@ struct matjson::Serialize { return path.string(); } static std::filesystem::path from_json(matjson::Value const& value) { - return value.as_string(); + return std::filesystem::path(value.as_string()).make_preferred(); } static bool is_json(matjson::Value const& value) { return value.is_string();