Changed: Add a 7 seconds pause under UNIX

This commit is contained in:
kervala 2016-02-21 13:10:48 +01:00
parent d9fe3e52dd
commit 96bcf3087a

View file

@ -3157,7 +3157,8 @@ bool CPatchManager::extract(const std::string& patchPath,
fprintf(fp, "@echo off\n"); fprintf(fp, "@echo off\n");
fprintf(fp, "ping 127.0.0.1 -n 7 -w 1000 > nul\n"); // wait fprintf(fp, "ping 127.0.0.1 -n 7 -w 1000 > nul\n"); // wait
#else #else
// TODO: for Linux and OS X fprintf(fp, "#!/bin/sh\n");
fprintf(fp, "sleep 7\n"); // wait
#endif #endif
// Unpack files with category ExtractPath non empty // Unpack files with category ExtractPath non empty