mirror of
https://github.com/Thracky/GlosSI.git
synced 2024-11-03 09:40:18 +00:00
SteamTarget: Fix launching apps.
This commit is contained in:
parent
fd761021fb
commit
bc952cb217
@ -229,7 +229,7 @@ void SteamTarget::launchApplication()
|
||||
stream << "@Echo off\n" << batchContents;
|
||||
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);
|
||||
|
||||
if (close_launched_done_)
|
||||
|
Loading…
Reference in New Issue
Block a user