Skip to content

Commit

Permalink
Use Application Support folder for Mac
Browse files Browse the repository at this point in the history
Stratagus currently puts data files in `~/Library/`, but it should use `~/Library/Application\ Support/`
  • Loading branch information
shinra-electric authored Mar 8, 2023
1 parent 38c3b78 commit 9b0c04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gameheaders/stratagus-game-launcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ static void SetUserDataPath(char* data_path) {
if (dataDir) {
strcpy(data_path, dataDir);
#ifdef USE_MAC
strcat(data_path, "/Library/Stratagus/");
strcat(data_path, "/Library/Application\ Support/Stratagus/");
#else
strcat(data_path, "/.local/share/stratagus/");
#endif
Expand Down

0 comments on commit 9b0c04d

Please sign in to comment.