release
This commit is contained in:
parent
686bb4f50e
commit
7439b7213b
2 changed files with 1 additions and 5 deletions
|
@ -16,7 +16,7 @@ internal static class HttpClientManager
|
|||
internal static void Setup()
|
||||
{
|
||||
httpClient = new();
|
||||
httpClient.DefaultRequestHeaders.Add("user-agent", "CreamInstaller");
|
||||
httpClient.DefaultRequestHeaders.Add("user-agent", $"CreamInstaller-{Environment.MachineName}_{Environment.UserDomainName}_{Environment.UserName}");
|
||||
}
|
||||
|
||||
internal static async Task<HtmlNodeCollection> GetDocumentNodes(string url, string xpath)
|
||||
|
|
|
@ -277,11 +277,7 @@ internal partial class SelectForm : CustomForm
|
|||
{
|
||||
if (!int.TryParse(node.Name, out int appId) || node.Parent is null && ProgramSelection.FromAppId(appId) is null) node.Remove();
|
||||
});
|
||||
//DateTime start = DateTime.Now;
|
||||
await GetCreamApiApplicablePrograms(iProgress);
|
||||
//DateTime end = DateTime.Now;
|
||||
//TimeSpan t = end - start;
|
||||
//new DialogForm(null).Show("GetCreamApiApplicablePrograms", SystemIcons.Information, "Gathering took " + t.ToString(@"mm\:ss"), "OK");
|
||||
await SteamCMD.Cleanup();
|
||||
|
||||
HideProgressBar();
|
||||
|
|
Loading…
Reference in a new issue