mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Changed: Relaunch Installer when installed/migrated, see #279
--HG-- branch : develop
This commit is contained in:
parent
373654ea46
commit
7e1f006647
1 changed files with 6 additions and 0 deletions
|
@ -215,6 +215,12 @@ int main(int argc, char *argv[])
|
||||||
if (!dialog.exec()) return 1;
|
if (!dialog.exec()) return 1;
|
||||||
|
|
||||||
step = config.getInstallNextStep();
|
step = config.getInstallNextStep();
|
||||||
|
|
||||||
|
if (step == Done)
|
||||||
|
{
|
||||||
|
// restart Installer, so it could be copied in TEMP and allowed to update itself
|
||||||
|
if (QProcess::startDetached(QApplication::applicationFilePath(), QApplication::arguments())) return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CMainWindow mainWindow;
|
CMainWindow mainWindow;
|
||||||
|
|
Loading…
Reference in a new issue