|
|
@ -1029,12 +1029,20 @@ void CPatchManager::executeBatchFile()
|
|
|
|
arguments += "\"" + RyzomFilename + "\" \"" + ClientPatchPath + "\" " + ClientRootPath + "\"";
|
|
|
|
arguments += "\"" + RyzomFilename + "\" \"" + ClientPatchPath + "\" " + ClientRootPath + "\"";
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// append login and password
|
|
|
|
// append login, password and shard
|
|
|
|
arguments += " " + LoginLogin + " " + LoginPassword;
|
|
|
|
if (!LoginLogin.empty())
|
|
|
|
|
|
|
|
|
|
|
|
if (!r2Mode)
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
arguments += " " + toString(LoginShardId);
|
|
|
|
arguments += " " + LoginLogin;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!LoginPassword.empty())
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
arguments += " " + LoginPassword;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!r2Mode)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
arguments += " " + toString(LoginShardId);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!launchProgram(batchFilename, arguments, false))
|
|
|
|
if (!launchProgram(batchFilename, arguments, false))
|
|
|
|