diff --git a/mods/src/options/info.cpp b/mods/src/options/info.cpp index fed413d1cf..0b5c0d6cae 100644 --- a/mods/src/options/info.cpp +++ b/mods/src/options/info.cpp @@ -3,6 +3,7 @@ #include #include +#include #include "options-internal.h" @@ -38,10 +39,9 @@ static std::string extra_version_info_full = !extra_version_info.empty() ? (" (" // Profile Directory static std::string profile_directory_suffix = #ifdef MCPI_IS_FLATPAK_BUILD - "/.var/app/" MCPI_APP_ID "/.minecraft-pi" -#else - "/.minecraft-pi" + "/.var/app/" MCPI_APP_ID #endif + HOME_SUBDIRECTORY_FOR_GAME_DATA ; static std::string get_profile_directory_url() { const char *home = getenv("HOME");