mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-12 20:28:22 -04:00
[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>
This commit is contained in:
parent
3875093c70
commit
4edb1ac6c5
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue