diff --git a/gameheaders/stratagus-game-launcher.h b/gameheaders/stratagus-game-launcher.h index 4d5cd98784..3cf06495c6 100644 --- a/gameheaders/stratagus-game-launcher.h +++ b/gameheaders/stratagus-game-launcher.h @@ -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 diff --git a/src/stratagus/parameters.cpp b/src/stratagus/parameters.cpp index 438953c57e..c0402b8a96 100644 --- a/src/stratagus/parameters.cpp +++ b/src/stratagus/parameters.cpp @@ -79,7 +79,7 @@ void Parameters::SetDefaultUserDirectory(bool noPortable) configDir = getenv("HOME"); if (configDir) { #ifdef USE_MAC - userDirectory = std::string(configDir) + "/Library/Stratagus"; + userDirectory = std::string(configDir) + "/Library/Application\ Support/Stratagus"; #else userDirectory = std::string(configDir) + "/.config/stratagus"; #endif // USE_MAC