Fix the problem in a different way

actorid
Alexander "Ace" Olofsson 12 years ago
parent b6fcd337df
commit 6e317f00eb

@ -84,6 +84,10 @@ struct FixedPath
mUserPath /= suffix;
mGlobalPath /= suffix;
mGlobalDataPath /= suffix;
mCachePath /= suffix;
#ifdef _WIN32
mCachePath /= "cache";
#endif
}
}

@ -80,7 +80,7 @@ boost::filesystem::path LinuxPath::getCachePath() const
{
userPath = boost::filesystem::path(theDir);
}
userPath /= "/.cache/openmw";
userPath /= ".cache";
return userPath;
}

@ -84,7 +84,7 @@ boost::filesystem::path MacOsPath::getCachePath() const
}
if (theDir != NULL)
{
userPath = boost::filesystem::path(theDir) / "Library/Caches/openmw";
userPath = boost::filesystem::path(theDir) / "Library/Caches";
}
return userPath;

@ -69,7 +69,7 @@ boost::filesystem::path WindowsPath::getGlobalDataPath() const
boost::filesystem::path WindowsPath::getCachePath() const
{
return getUserPath() / "openmw/cache";
return getUserPath();
}
boost::filesystem::path WindowsPath::getInstallPath() const

Loading…
Cancel
Save