[Launcher] Make wait for updater to finish.
This commit is contained in:
parent
55cf490cd2
commit
2621325479
|
@ -34,6 +34,7 @@ int main( int argc, char *argv[] )
|
||||||
if(!updater.waitForStarted())
|
if(!updater.waitForStarted())
|
||||||
qDebug() << "Failed to start updater.";
|
qDebug() << "Failed to start updater.";
|
||||||
qDebug() << updater.errorString();
|
qDebug() << updater.errorString();
|
||||||
|
updater.waitForFinished();
|
||||||
qDebug() << program;
|
qDebug() << program;
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue