Use Application Support folder for Mac
Stratagus currently puts data files in `~/Library/`, but it should use `~/Library/Application\ Support/`
This commit is contained in:
parent
38c3b78bb5
commit
9b0c04dee3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue