From 91a03011b9360cc05d7b3ffe5d3551dc20d098f5 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 18 Oct 2016 10:23:49 +0200 Subject: [PATCH] Changed: Restart installed Installer intead of current one --- code/ryzom/tools/client/ryzom_installer/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/main.cpp b/code/ryzom/tools/client/ryzom_installer/src/main.cpp index 8d5f9b9da..31fbf12e3 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/main.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/main.cpp @@ -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 } }