2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-17 03:26:02 +00:00

SteamTarget: Fix launching apps.

This commit is contained in:
Peter Repukat 2018-04-15 18:55:58 +02:00
parent fd761021fb
commit bc952cb217

View File

@ -229,7 +229,7 @@ void SteamTarget::launchApplication()
stream << "@Echo off\n" << batchContents; stream << "@Echo off\n" << batchContents;
file.close(); file.close();
const QString launchPath = QDir::toNativeSeparators(applicationDirPath()) + "\\launchApp.bat"; const QString launchPath = QDir::toNativeSeparators(QStandardPaths::standardLocations(QStandardPaths::AppDataLocation).at(0)) + "\\launchApp.bat";
QProcess::startDetached("explorer.exe", QStringList() << launchPath); QProcess::startDetached("explorer.exe", QStringList() << launchPath);
if (close_launched_done_) if (close_launched_done_)