diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2024-08-01 21:27:55 +0200 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2024-08-14 01:44:37 +0200 |
| commit | ff0ca0bd5388450b357549e33a81489cd2b75158 (patch) | |
| tree | b02735cb02321f44ed418bf356243015788075d3 | |
| parent | 07b9f7d280771e7080f7d1a6257ee7988b5d2218 (diff) | |
os2: make config directory on darwin also ~/.config, it is the proper place
| -rw-r--r-- | core/os/os2/user.odin | 2 |
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) |