aboutsummaryrefslogtreecommitdiff
path: root/src/common/fs
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2026-06-12 23:55:09 +0200
committercrueter <crueter@eden-emu.dev>2026-06-12 23:55:09 +0200
commit4edb1ac6c5de888c83d0c838f30a44e929742979 (patch)
tree2d7c727c5f2c984f83d968141557c4c253930769 /src/common/fs
parent3875093c70e3e8d2dd73e74ff567870ef7b707a7 (diff)
[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 <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4087 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Diffstat (limited to 'src/common/fs')
-rw-r--r--src/common/fs/path_util.cpp2
1 files changed, 1 insertions, 1 deletions
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));
});
}