Update Updater.cs

This commit is contained in:
yell0wsuit 2024-04-16 21:53:46 +07:00
parent d901463ffb
commit 6acac56ef6
No known key found for this signature in database
GPG key ID: 5B4F198A9800F6F4

View file

@ -228,16 +228,6 @@ namespace Ryujinx.Modules
} }
}; };
private static HttpClient ConstructHttpClient()
{
HttpClient result = new();
// Required by GitHub to interact with APIs.
result.DefaultRequestHeaders.Add("User-Agent", "Ryujinx-Updater/1.0.0");
return result;
}
private static async Task UpdateRyujinx(Window parent, string downloadUrl) private static async Task UpdateRyujinx(Window parent, string downloadUrl)
{ {
_updateSuccessful = false; _updateSuccessful = false;