mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Fixed: Don't restart Installer if in Debug, see #279
This commit is contained in:
parent
2450c57e8c
commit
b9fc9cb358
1 changed files with 2 additions and 0 deletions
|
@ -223,8 +223,10 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
if (step == Done)
|
if (step == Done)
|
||||||
{
|
{
|
||||||
|
#if defined(Q_OS_WIN) && !defined(_DEBUG)
|
||||||
// restart Installer, so it could be copied in TEMP and allowed to update itself
|
// restart Installer, so it could be copied in TEMP and allowed to update itself
|
||||||
if (QProcess::startDetached(QApplication::applicationFilePath(), QApplication::arguments())) return 0;
|
if (QProcess::startDetached(QApplication::applicationFilePath(), QApplication::arguments())) return 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue