1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-17 17:46:40 +00:00

Fix IDE0063

This commit is contained in:
yell0wsuit 2024-04-18 21:01:27 +07:00
parent 2b3d26910b
commit 2953b87e58
No known key found for this signature in database
GPG key ID: 5B4F198A9800F6F4

View file

@ -56,12 +56,10 @@ namespace Ryujinx.Ava.UI.Windows
private static async Task<string> FetchChangelogHtml()
{
using (var client = new HttpClient())
{
using var client = new HttpClient();
client.DefaultRequestHeaders.UserAgent.ParseAdd("Ryujinx-Updater/1.0.0");
return await client.GetStringAsync("https://github.com/Ryujinx/Ryujinx/wiki/Changelog");
}
}
private static string ParseChangelogForRecentVersions(string html, int count)
{