From ff0ca0bd5388450b357549e33a81489cd2b75158 Mon Sep 17 00:00:00 2001 From: Laytan Laats Date: Thu, 1 Aug 2024 21:27:55 +0200 Subject: [PATCH] os2: make config directory on darwin also ~/.config, it is the proper place --- core/os/os2/user.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/os/os2/user.odin b/core/os/os2/user.odin index ca099f7ae..af0bc5da4 100644 --- a/core/os/os2/user.odin +++ b/core/os/os2/user.odin @@ -42,7 +42,7 @@ user_config_dir :: proc(allocator: runtime.Allocator) -> (dir: string, err: Erro case .Darwin: dir = get_env("HOME", allocator) if dir != "" { - dir = concatenate({dir, "/Library/Application Support"}, allocator) or_return + dir = concatenate({dir, "/.config"}, allocator) or_return } case: // All other UNIX systems dir = get_env("XDG_CACHE_HOME", allocator)