Fixed: Don't restart Installer if in Debug, see #279

This commit is contained in:
kervala 2016-09-14 08:16:00 +02:00
parent c6e045ee44
commit cae95ca01d

View file

@ -223,8 +223,10 @@ int main(int argc, char *argv[])
if (step == Done)
{
#if defined(Q_OS_WIN) && !defined(_DEBUG)
// restart Installer, so it could be copied in TEMP and allowed to update itself
if (QProcess::startDetached(QApplication::applicationFilePath(), QApplication::arguments())) return 0;
#endif
}
}