aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-08-01 21:27:55 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-08-14 01:44:37 +0200
commitff0ca0bd5388450b357549e33a81489cd2b75158 (patch)
treeb02735cb02321f44ed418bf356243015788075d3
parent07b9f7d280771e7080f7d1a6257ee7988b5d2218 (diff)
os2: make config directory on darwin also ~/.config, it is the proper place
-rw-r--r--core/os/os2/user.odin2
1 files changed, 1 insertions, 1 deletions
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)