mirror of
https://github.com/overte-org/overte.git
synced 2025-06-23 23:40:08 +02:00
Fix application directory path
This commit is contained in:
parent
224c35d568
commit
ff8f45d36c
1 changed files with 2 additions and 3 deletions
|
@ -129,9 +129,8 @@ int main(int argc, const char* argv[]) {
|
||||||
parser.addOption(serverContentPathOption);
|
parser.addOption(serverContentPathOption);
|
||||||
parser.parse(arguments);
|
parser.parse(arguments);
|
||||||
if (parser.isSet(runServerOption)) {
|
if (parser.isSet(runServerOption)) {
|
||||||
//QString serverPath = QFileInfo(arguments[0]).path();
|
QString applicationDirPath = QFileInfo(arguments[0]).path();
|
||||||
QString applicationDirPath = QCoreApplication::applicationDirPath();
|
QString serverPath = applicationDirPath + "/server-console/server-console.exe";
|
||||||
QString serverPath = "/server-console/server-console.exe";
|
|
||||||
qDebug() << "Application dir path is: " << applicationDirPath;
|
qDebug() << "Application dir path is: " << applicationDirPath;
|
||||||
qDebug() << "Server path is: " << serverPath;
|
qDebug() << "Server path is: " << serverPath;
|
||||||
QStringList args;
|
QStringList args;
|
||||||
|
|
Loading…
Reference in a new issue