From 6acac56ef6f8dd579545a842698da0ef9f665af6 Mon Sep 17 00:00:00 2001 From: yell0wsuit <5692900+yell0wsuit@users.noreply.github.com> Date: Tue, 16 Apr 2024 21:53:46 +0700 Subject: [PATCH] Update Updater.cs --- src/Ryujinx/Modules/Updater/Updater.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Ryujinx/Modules/Updater/Updater.cs b/src/Ryujinx/Modules/Updater/Updater.cs index e5eca0a7a..a6481ba12 100644 --- a/src/Ryujinx/Modules/Updater/Updater.cs +++ b/src/Ryujinx/Modules/Updater/Updater.cs @@ -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) { _updateSuccessful = false;