[Launcher] Fix "Unknown error"
This commit is contained in:
parent
edd21bbf2d
commit
f1ff98f7d8
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue