From febec05203dced8aa0ea9894294bb4862212dd77 Mon Sep 17 00:00:00 2001 From: Tsubasahane Date: Thu, 31 Oct 2024 18:15:12 +0800 Subject: [PATCH] 1.0.7.1 --- Dalamud.Updater/Dalamud.Updater.csproj | 4 ++-- Dalamud.Updater/Dalamud/AssetManager.cs | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dalamud.Updater/Dalamud.Updater.csproj b/Dalamud.Updater/Dalamud.Updater.csproj index 781a105..e3c0b36 100644 --- a/Dalamud.Updater/Dalamud.Updater.csproj +++ b/Dalamud.Updater/Dalamud.Updater.csproj @@ -8,8 +8,8 @@ Bluefissure Dalamud.Updater Copyright © Bluefissure 2022 - 1.0.7.0 - 1.0.7.0 + 1.0.7.1 + 1.0.7.1 bin\$(Configuration)\ diff --git a/Dalamud.Updater/Dalamud/AssetManager.cs b/Dalamud.Updater/Dalamud/AssetManager.cs index 101a967..db0940a 100644 --- a/Dalamud.Updater/Dalamud/AssetManager.cs +++ b/Dalamud.Updater/Dalamud/AssetManager.cs @@ -38,12 +38,14 @@ public static async Task EnsureAssets(DirectoryInfo baseDir) { Timeout = TimeSpan.FromMinutes(4), }; + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; client.DefaultRequestHeaders.CacheControl = new CacheControlHeaderValue { NoCache = true, }; client.DefaultRequestHeaders.Add("User-Agent", "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36 Edg/130.0.0.0"); + client.DefaultRequestHeaders.Add("accept-encoding", "gzip, deflate, br"); using var sha1 = SHA1.Create(); Log.Verbose("[DASSET] Starting asset download");