v4.5.0.0-rc01.1
Fixed SteamCMD setup progress bar
This commit is contained in:
parent
d7f1ee54d7
commit
d2ab703b88
1 changed files with 1 additions and 3 deletions
|
@ -69,8 +69,6 @@ internal static class SteamCMD
|
||||||
StandardInputEncoding = Encoding.UTF8, StandardOutputEncoding = Encoding.UTF8, StandardErrorEncoding = Encoding.UTF8
|
StandardInputEncoding = Encoding.UTF8, StandardOutputEncoding = Encoding.UTF8, StandardErrorEncoding = Encoding.UTF8
|
||||||
};
|
};
|
||||||
Process process = Process.Start(processStartInfo);
|
Process process = Process.Start(processStartInfo);
|
||||||
if (appId == null)
|
|
||||||
return "";
|
|
||||||
StringBuilder output = new();
|
StringBuilder output = new();
|
||||||
StringBuilder appInfo = new();
|
StringBuilder appInfo = new();
|
||||||
bool appInfoStarted = false;
|
bool appInfoStarted = false;
|
||||||
|
@ -98,7 +96,7 @@ internal static class SteamCMD
|
||||||
continue;
|
continue;
|
||||||
process.Kill(true);
|
process.Kill(true);
|
||||||
process.Close();
|
process.Close();
|
||||||
if (output.ToString().Contains($"No app info for AppID {appId} found, requesting..."))
|
if (appId != null && output.ToString().Contains($"No app info for AppID {appId} found, requesting..."))
|
||||||
{
|
{
|
||||||
AttemptCount[appId]++;
|
AttemptCount[appId]++;
|
||||||
processStartInfo.Arguments = GetArguments(appId);
|
processStartInfo.Arguments = GetArguments(appId);
|
||||||
|
|
Loading…
Reference in a new issue