From 4edb1ac6c5de888c83d0c838f30a44e929742979 Mon Sep 17 00:00:00 2001 From: lizzie Date: Fri, 12 Jun 2026 23:55:09 +0200 Subject: [PATCH] [common/fs] create XDG_DATA_{HOME,CACHE,CONFIG}_HOME if we are the first application to ever be ran or they dont exist for a reason (#4087) samu will be happy basically this handles the edge case where either: a) eden is the first application ever ran (i.e no config dirs made yet) b) user didnt have them c) user is trying to run on a sandbox appimage or whatever bs Signed-off-by: lizzie Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4087 Reviewed-by: crueter Reviewed-by: MaranBr --- src/common/fs/path_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cpp index 93d2300ed1..e980fd1bbe 100644 --- a/src/common/fs/path_util.cpp +++ b/src/common/fs/path_util.cpp @@ -90,7 +90,7 @@ public: void CreateEdenPaths() { std::for_each(eden_paths.begin(), eden_paths.end(), [](auto &path) { - void(FS::CreateDir(path.second)); + void(FS::CreateDirs(path.second)); }); }