filesystem: Implement SDL_GetExeName() for all platforms.

This commit is contained in:
Ryan C. Gordon 2026-05-27 15:41:51 -04:00
parent 6b780c5ff9
commit d7ba3efe6b
No known key found for this signature in database
GPG key ID: FA148B892AB48044
11 changed files with 141 additions and 30 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) {