diff --git a/platform_mac/mac_4ed_functions.mm b/platform_mac/mac_4ed_functions.mm index e6f36903..c7597c69 100644 --- a/platform_mac/mac_4ed_functions.mm +++ b/platform_mac/mac_4ed_functions.mm @@ -48,7 +48,10 @@ system_get_path_sig(){ case SystemPath_UserDirectory: { - + char *home_cstr = getenv("HOME"); + if (home_cstr != 0){ + result = push_u8_stringf(arena, "%s/.4coder/", home_cstr); + } }break; }