mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
filesystem: Implement SDL_GetExeName() for all platforms.
This commit is contained in:
parent
6b780c5ff9
commit
d7ba3efe6b
11 changed files with 141 additions and 30 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue