From 3c948ef625a1943100a608e037b3d30a221d3a01 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 21 Feb 2016 13:10:48 +0100 Subject: [PATCH] Changed: Add a 7 seconds pause under UNIX --- code/ryzom/client/src/login_patch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/ryzom/client/src/login_patch.cpp b/code/ryzom/client/src/login_patch.cpp index 3d73635f9..8d4088d13 100644 --- a/code/ryzom/client/src/login_patch.cpp +++ b/code/ryzom/client/src/login_patch.cpp @@ -3157,7 +3157,8 @@ bool CPatchManager::extract(const std::string& patchPath, fprintf(fp, "@echo off\n"); fprintf(fp, "ping 127.0.0.1 -n 7 -w 1000 > nul\n"); // wait #else - // TODO: for Linux and OS X + fprintf(fp, "#!/bin/sh\n"); + fprintf(fp, "sleep 7\n"); // wait #endif // Unpack files with category ExtractPath non empty