Skip to content

Commit

Permalink
1.0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wozaiha committed Oct 31, 2024
1 parent 8ed43c3 commit febec05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dalamud.Updater/Dalamud.Updater.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<Company>Bluefissure</Company>
<Product>Dalamud.Updater</Product>
<Copyright>Copyright © Bluefissure 2022</Copyright>
<AssemblyVersion>1.0.7.0</AssemblyVersion>
<FileVersion>1.0.7.0</FileVersion>
<AssemblyVersion>1.0.7.1</AssemblyVersion>
<FileVersion>1.0.7.1</FileVersion>
<OutputPath>bin\$(Configuration)\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
2 changes: 2 additions & 0 deletions Dalamud.Updater/Dalamud/AssetManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@ public static async Task<DirectoryInfo> 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");
Expand Down

0 comments on commit febec05

Please sign in to comment.