NOISSUE actually use the directory as the working directory

This commit is contained in:
arthomnix 2022-07-03 14:19:50 +01:00
parent 75b8765604
commit bbdbe47e72

View File

@ -173,7 +173,7 @@ void CreateShortcutDialog::createShortcut()
} }
createWindowsLink(QDir::toNativeSeparators(QCoreApplication::applicationFilePath()).toStdString().c_str(), createWindowsLink(QDir::toNativeSeparators(QCoreApplication::applicationFilePath()).toStdString().c_str(),
QDir::toNativeSeparators(QCoreApplication::applicationFilePath()).toStdString().c_str(), QDir::toNativeSeparators(QCoreApplication::applicationDirPath()).toStdString().c_str(),
getLaunchArgs().toStdString().c_str(), getLaunchArgs().toStdString().c_str(),
ui->shortcutPath->text().toStdString().c_str(), ui->shortcutPath->text().toStdString().c_str(),
(m_instance->name() + " - " + BuildConfig.LAUNCHER_DISPLAYNAME).toStdString().c_str(), (m_instance->name() + " - " + BuildConfig.LAUNCHER_DISPLAYNAME).toStdString().c_str(),