changed android configs paths

deque
sylar 10 years ago
parent f75721a217
commit 4c46da79de

@ -53,22 +53,22 @@ AndroidPath::AndroidPath(const std::string& application_name)
boost::filesystem::path AndroidPath::getUserConfigPath() const boost::filesystem::path AndroidPath::getUserConfigPath() const
{ {
return getEnv("XDG_CONFIG_HOME", "/sdcard/morrowind/config") / mName; return getEnv("XDG_CONFIG_HOME", "/sdcard/libopenmw/config") / mName;
} }
boost::filesystem::path AndroidPath::getUserDataPath() const boost::filesystem::path AndroidPath::getUserDataPath() const
{ {
return getEnv("XDG_DATA_HOME", "/sdcard/morrowind/share") / mName; return getEnv("XDG_DATA_HOME", "/sdcard/libopenmw/share") / mName;
} }
boost::filesystem::path AndroidPath::getCachePath() const boost::filesystem::path AndroidPath::getCachePath() const
{ {
return getEnv("XDG_CACHE_HOME", "/sdcard/morrowind/cache") / mName; return getEnv("XDG_CACHE_HOME", "/sdcard/libopenmw/cache") / mName;
} }
boost::filesystem::path AndroidPath::getGlobalConfigPath() const boost::filesystem::path AndroidPath::getGlobalConfigPath() const
{ {
boost::filesystem::path globalPath("/sdcard/morrowind/"); boost::filesystem::path globalPath("/sdcard/libopenmw/");
return globalPath / mName; return globalPath / mName;
} }
@ -79,7 +79,7 @@ boost::filesystem::path AndroidPath::getLocalPath() const
boost::filesystem::path AndroidPath::getGlobalDataPath() const boost::filesystem::path AndroidPath::getGlobalDataPath() const
{ {
boost::filesystem::path globalDataPath("/sdcard/morrowind/data"); boost::filesystem::path globalDataPath("/sdcard/libopenmw/data");
return globalDataPath / mName; return globalDataPath / mName;
} }

Loading…
Cancel
Save