mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 10:06:42 +00:00
Oops, that would've broken getUserPath() on Linux...
This commit is contained in:
parent
cd3e780614
commit
bc6d87ba32
1 changed files with 2 additions and 4 deletions
|
@ -57,11 +57,10 @@ boost::filesystem::path LinuxPath::getUserPath() const
|
||||||
|
|
||||||
if (theDir != NULL)
|
if (theDir != NULL)
|
||||||
{
|
{
|
||||||
suffix = boost::filesystem::path("/.config/");
|
|
||||||
userPath = boost::filesystem::path(theDir);
|
userPath = boost::filesystem::path(theDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
return userPath / mName;
|
return userPath / ".config" / mName;
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::filesystem::path LinuxPath::getCachePath() const
|
boost::filesystem::path LinuxPath::getCachePath() const
|
||||||
|
@ -82,9 +81,8 @@ boost::filesystem::path LinuxPath::getCachePath() const
|
||||||
{
|
{
|
||||||
userPath = boost::filesystem::path(theDir);
|
userPath = boost::filesystem::path(theDir);
|
||||||
}
|
}
|
||||||
userPath /= ".cache";
|
|
||||||
|
|
||||||
return userPath / mName;
|
return userPath / ".cache" / mName;
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::filesystem::path LinuxPath::getGlobalPath() const
|
boost::filesystem::path LinuxPath::getGlobalPath() const
|
||||||
|
|
Loading…
Reference in a new issue