1
0
Fork 0

[Launcher] Fix "Unknown error"

This commit is contained in:
Kitteh 2018-10-25 12:31:15 +01:00
parent edd21bbf2d
commit f1ff98f7d8

View file

@ -34,9 +34,6 @@ int main( int argc, char *argv[] )
QProcess updater; QProcess updater;
updater.setProcessChannelMode(QProcess::ForwardedChannels); updater.setProcessChannelMode(QProcess::ForwardedChannels);
updater.start(program, QStringList() << QProcessEnvironment::systemEnvironment().value("APPIMAGE", "")); updater.start(program, QStringList() << QProcessEnvironment::systemEnvironment().value("APPIMAGE", ""));
if(!updater.waitForStarted())
qDebug() << "Failed to start updater.";
qDebug() << updater.errorString();
updater.waitForFinished(); updater.waitForFinished();
qDebug() << program; qDebug() << program;
exit(0); exit(0);