Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
slowscript committed Jul 4, 2022
1 parent 33c3573 commit bdf4812
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Warpinator/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ private async Task CheckForUpdates()
{
var handler = new HttpClientHandler() { AllowAutoRedirect = false };
var client = new HttpClient(handler);
client.Timeout = TimeSpan.FromSeconds(1);
var req = new HttpRequestMessage(HttpMethod.Head, "https://github.com/slowscript/warpinator-windows/releases/latest");
req.Headers.UserAgent.Add(new System.Net.Http.Headers.ProductInfoHeaderValue("warpinator-windows", "1.0"));
try
Expand Down
1 change: 1 addition & 0 deletions Warpinator/Remote.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ public void ProcessSendToTransfer()
Form1.UpdateUI();
t.PrepareSend();
Transfers.Add(t);
UpdateTransfers();
StartSendTransfer(t);
}
}
Expand Down

0 comments on commit bdf4812

Please sign in to comment.