From b9fc9cb358c3d0d2e4e9f38bada3910cd12a4cb4 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 } }