mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-25 16:43:33 +00:00
Modified the cache path to work on windows
This commit is contained in:
parent
21a8dc5ae7
commit
b6fcd337df
components/files
@ -84,7 +84,6 @@ struct FixedPath
|
||||
mUserPath /= suffix;
|
||||
mGlobalPath /= suffix;
|
||||
mGlobalDataPath /= suffix;
|
||||
mCachePath /= suffix;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,7 @@ boost::filesystem::path LinuxPath::getCachePath() const
|
||||
{
|
||||
userPath = boost::filesystem::path(theDir);
|
||||
}
|
||||
userPath /= "/.cache/";
|
||||
userPath /= "/.cache/openmw";
|
||||
|
||||
return userPath;
|
||||
}
|
||||
|
@ -84,7 +84,7 @@ boost::filesystem::path MacOsPath::getCachePath() const
|
||||
}
|
||||
if (theDir != NULL)
|
||||
{
|
||||
userPath = boost::filesystem::path(theDir) / "Library/Caches/";
|
||||
userPath = boost::filesystem::path(theDir) / "Library/Caches/openmw";
|
||||
}
|
||||
|
||||
return userPath;
|
||||
|
@ -69,7 +69,7 @@ boost::filesystem::path WindowsPath::getGlobalDataPath() const
|
||||
|
||||
boost::filesystem::path WindowsPath::getCachePath() const
|
||||
{
|
||||
return getUserPath() / "/cache";
|
||||
return getUserPath() / "openmw/cache";
|
||||
}
|
||||
|
||||
boost::filesystem::path WindowsPath::getInstallPath() const
|
||||
|
Loading…
x
Reference in New Issue
Block a user