mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 02:53:04 +00:00
Update Updater.cs
This commit is contained in:
parent
d901463ffb
commit
6acac56ef6
1 changed files with 0 additions and 10 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue