Changed: Support -config/-c parameter passed by Ryzom Installer

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent 895df72e3f
commit 61fb66d3af

@ -205,6 +205,10 @@ int main(int argc, char **argv)
{
std::string currentPath = CPath::getApplicationDirectory("Ryzom");
// append config ID to directory
if (Args.haveArg("c"))
currentPath = NLMISC::CPath::standardizePath(currentPath) + Args.getArg("c").front();
if (!CFile::isExists(currentPath)) CFile::createDirectory(currentPath);
CPath::setCurrentPath(currentPath);

Loading…
Cancel
Save