linux -> prefix user raddbg data with ., so we get ~/.raddbg normally - on windows keep normal style

This commit is contained in:
Ryan Fleury
2026-05-18 20:18:53 -07:00
parent a75cb2c32d
commit fe4de192e4
8 changed files with 47 additions and 29 deletions
+16
View File
@@ -1443,6 +1443,22 @@ str8_from_version(Arena *arena, U64 version)
////////////////////////////////
//~ rjf: String Path Helpers
internal String8
program_data_folder_prefix_from_os(OperatingSystem os)
{
String8 result = {0};
switch(os)
{
default:{}break;
case OperatingSystem_Linux:
case OperatingSystem_Mac:
{
result = s(".");
}break;
}
return result;
}
internal String8
str8_chop_last_slash(String8 string)
{