filesystem: Implement SDL_GetExeName() for all platforms.

(cherry picked from commit d7ba3efe6b)
This commit is contained in:
Ryan C. Gordon
2026-05-27 15:41:51 -04:00
parent 11e13dc4a5
commit b8601dc8a7
10 changed files with 113 additions and 13 deletions

View File

@@ -94,6 +94,9 @@ int main(int argc, char *argv[])
char *curdir;
const char *base_path;
/* this will be SDL's best guess at the human-readable exe name (or bundle id, or whatever) by default. */
SDL_Log("Default app name: '%s'", SDL_GetAppMetadataProperty(SDL_PROP_APP_METADATA_NAME_STRING));
/* Initialize test framework */
state = SDLTest_CommonCreateState(argv, 0);
if (!state) {