mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 20:53:52 +00:00
Fix location of local data path
This commit is contained in:
parent
8a4227ec38
commit
5645c9185b
3 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@ static const char* const openmwCfgFile = "openmw.cfg";
|
||||||
|
|
||||||
const char* const mwToken = "?mw?";
|
const char* const mwToken = "?mw?";
|
||||||
const char* const localToken = "?local?";
|
const char* const localToken = "?local?";
|
||||||
const char* const userToken = "?user?";
|
const char* const userDataToken = "?userdata?";
|
||||||
const char* const globalToken = "?global?";
|
const char* const globalToken = "?global?";
|
||||||
|
|
||||||
ConfigurationManager::ConfigurationManager()
|
ConfigurationManager::ConfigurationManager()
|
||||||
|
@ -40,7 +40,7 @@ void ConfigurationManager::setupTokensMapping()
|
||||||
{
|
{
|
||||||
mTokensMapping.insert(std::make_pair(mwToken, &FixedPath<>::getInstallPath));
|
mTokensMapping.insert(std::make_pair(mwToken, &FixedPath<>::getInstallPath));
|
||||||
mTokensMapping.insert(std::make_pair(localToken, &FixedPath<>::getLocalPath));
|
mTokensMapping.insert(std::make_pair(localToken, &FixedPath<>::getLocalPath));
|
||||||
mTokensMapping.insert(std::make_pair(userToken, &FixedPath<>::getUserConfigPath));
|
mTokensMapping.insert(std::make_pair(userDataToken, &FixedPath<>::getUserDataPath));
|
||||||
mTokensMapping.insert(std::make_pair(globalToken, &FixedPath<>::getGlobalDataPath));
|
mTokensMapping.insert(std::make_pair(globalToken, &FixedPath<>::getGlobalDataPath));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
data="?global?data"
|
data="?global?data"
|
||||||
data="?mw?Data Files"
|
data="?mw?Data Files"
|
||||||
data-local="?user?data"
|
data-local="?userdata?data"
|
||||||
resources=${OPENMW_RESOURCE_FILES}
|
resources=${OPENMW_RESOURCE_FILES}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
data="?global?data"
|
data="?global?data"
|
||||||
data="?mw?Data Files"
|
data="?mw?Data Files"
|
||||||
data=./data
|
data=./data
|
||||||
data-local="?user?data"
|
data-local="?userdata?data"
|
||||||
resources=./resources
|
resources=./resources
|
||||||
|
|
Loading…
Reference in a new issue