2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-03 09:40:18 +00:00

Launch the gamelauncher in glosc config app, just to be safe

This commit is contained in:
Peter Repukat 2016-11-28 11:03:57 +01:00
parent 60cd81dbf1
commit b7a533ea42
2 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,11 @@ GloSC::GloSC(QWidget *parent)
updateEntryList();
updateTargetsToNewVersion();
//Launch the gamelauncher here, just to be safe
//Don't need to check if the process already exists as it does it itself
QProcess proc;
proc.startDetached("GloSC_Gamelauncher.exe", QStringList(), QDir::toNativeSeparators(QApplication::applicationDirPath()), nullptr);
}
void GloSC::updateEntryList()

View File

@ -24,6 +24,7 @@ limitations under the License.
#include <QFileDialog>
#include <qlist.h>
#include <qmessagebox.h>
#include <qprocess.h>
#include <Windows.h>
#include <appmodel.h>