Changed: Add a 7 seconds pause under UNIX

--HG--
branch : develop
This commit is contained in:
kervala 2016-02-21 13:10:48 +01:00
parent 460708a015
commit aa15b96187

View file

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