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:
parent
fd761021fb
commit
bc952cb217
@ -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_)
|
||||||
|
Loading…
Reference in New Issue
Block a user