From cae95ca01d3b22a2bc769d58c64d36ebec34be63 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 14 Sep 2016 08:16:00 +0200 Subject: [PATCH] Fixed: Don't restart Installer if in Debug, see #279 --- code/ryzom/tools/client/ryzom_installer/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/main.cpp b/code/ryzom/tools/client/ryzom_installer/src/main.cpp index 4658a3b99..3d7ee1d1c 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/main.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/main.cpp @@ -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 } }