extend os info struct with binary file path

This commit is contained in:
Nikita Smith
2026-06-02 12:09:57 -07:00
committed by Ryan Fleury
parent 5d8c568d82
commit 2643d14e06
5 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -1548,8 +1548,8 @@ main(int argc, char **argv)
if(got_final_result && size > 0)
{
String8 full_name = str8(buffer, size);
String8 name_chopped = str8_chop_last_slash(full_name);
info->binary_path = push_str8_copy(lnx_state.arena, name_chopped);
info->binary_file_path = push_str8_copy(os_lnx_state.arena, full_name);
info->binary_path = str8_chop_last_slash(info->binary_file_path);
}
}