mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
add setting to add additional steamcmd exitstatus codes as success
This commit is contained in:
parent
a289a8ed03
commit
5cecc28006
18 changed files with 152 additions and 22 deletions
|
|
@ -303,5 +303,15 @@ namespace ServerManagerTool.Common.Utils
|
|||
var argumentString = string.Format(argumentFormatString, argumentValues);
|
||||
return BuildSteamCmdArguments(removeQuit, argumentString);
|
||||
}
|
||||
|
||||
public static List<int> GetExitStatusList(string value)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(value))
|
||||
{
|
||||
return new List<int>();
|
||||
}
|
||||
|
||||
return new List<int>(Array.ConvertAll(value.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries), int.Parse));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue