Changed: Restart installed Installer intead of current one

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent a57a0eb0ce
commit 29aa0c1722

@ -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
}
}

Loading…
Cancel
Save