mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +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";
|
||||
QStringList args;
|
||||
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() << QFileInfo(arguments[0]).path();
|
||||
|
|
Loading…
Reference in a new issue