Skip to content

Commit

Permalink
Merge branch 'feature/NO-ISSUE-downloader' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
matanki-saito committed Mar 12, 2019
2 parents 7fe2581 + 6a5c9d3 commit 7ace2d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Plugin/moddl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
bool createProcess(WCHAR* szCmd, DWORD flag) {
STARTUPINFO si;
PROCESS_INFORMATION pi;
WCHAR *message = L"Autoupdate error. Please DELETE 'plugins/autoupdate.bat'.";
WCHAR *message = L"Autoupdate error. Please DELETE 'claes.exe'.";
WCHAR *title = NULL;

memset(&si, 0, sizeof(STARTUPINFO));
Expand All @@ -16,14 +16,14 @@ bool createProcess(WCHAR* szCmd, DWORD flag) {
title = L"Autoupdate createProcess failed.";
}
else {
DWORD result = WaitForSingleObject(pi.hProcess, 10 * 1000); // 10 sec
DWORD result = WaitForSingleObject(pi.hProcess, 35 * 1000); // 35 sec
switch (result)
{
case WAIT_FAILED:
title = L"Autoupdate wait failed.";
title = L"moddownload wait failed.";
break;
case WAIT_TIMEOUT:
title = L"Autoupdate wait timeout.";
title = L"moddownload wait timeout.";
break;
default:
break;
Expand Down

0 comments on commit 7ace2d9

Please sign in to comment.