Browse Source

os2: make config directory on darwin also ~/.config, it is the proper place

Laytan Laats 1 year ago
parent
commit
ff0ca0bd53
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/os/os2/user.odin

+ 1 - 1
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)