Skip to content

Commit 191c9ac

Browse files
committed
Run new patcher in silent mode
1 parent 4f05d6c commit 191c9ac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

GeneralsMD/Code/GameEngine/Source/GameNetwork/GeneralsOnline/OnlineServices_Init.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ void NGMP_OnlineServicesManager::LaunchPatcher()
245245
std::string strPatcherDir = std::format("{}/{}", CurDir, strPatchDir);
246246
std::string strPatcherPath = std::format("{}/{}", strPatcherDir, m_patcher_name);
247247

248-
if (CreateProcessA(strPatcherPath.c_str(), nullptr, nullptr, nullptr, FALSE, 0, nullptr, strPatcherDir.c_str(), &si, &pi))
248+
char params[] = "/VERYSILENT";
249+
if (CreateProcessA(strPatcherPath.c_str(), params, nullptr, nullptr, FALSE, 0, nullptr, strPatcherDir.c_str(), &si, &pi))
249250
{
250251
// Successfully launched the process, close handles
251252
CloseHandle(pi.hProcess);

0 commit comments

Comments
 (0)