Changed: Restart installed Installer intead of current one

This commit is contained in:
kervala 2016-10-18 10:23:49 +02:00
parent b150d29d04
commit 91a03011b9

View file

@ -263,7 +263,7 @@ int main(int argc, char *argv[])
{
#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())) return 0;
if (QProcess::startDetached(config.getInstallerInstalledFilePath())) return 0;
#endif
}
}