mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-11 09:29:15 +02:00
Update server content path to be relative
This commit is contained in:
parent
392ecb0dae
commit
fe6382d1b6
1 changed files with 2 additions and 1 deletions
|
@ -134,7 +134,8 @@ int main(int argc, const char* argv[]) {
|
||||||
//serverPath = "./server-console/server-console.exe";
|
//serverPath = "./server-console/server-console.exe";
|
||||||
QStringList args;
|
QStringList args;
|
||||||
if (parser.isSet(serverContentPath)) {
|
if (parser.isSet(serverContentPath)) {
|
||||||
args << "--" << "--contentPath" << parser.value(serverContentPath);
|
QString serverContentPath = QFileInfo(arguments[0]).path() + "/" + parser.value(serverContentPath);
|
||||||
|
args << "--" << "--contentPath" << serverContentPath;
|
||||||
}
|
}
|
||||||
qDebug() << "server path: " << serverPath << args;
|
qDebug() << "server path: " << serverPath << args;
|
||||||
qDebug() << QFileInfo(arguments[0]).path();
|
qDebug() << QFileInfo(arguments[0]).path();
|
||||||
|
|
Loading…
Reference in a new issue