diff --git a/DepotDownloader/DepotDownloaderMod.csproj b/DepotDownloader/DepotDownloaderMod.csproj index fca65dc51..e2f561655 100644 --- a/DepotDownloader/DepotDownloaderMod.csproj +++ b/DepotDownloader/DepotDownloaderMod.csproj @@ -1,10 +1,10 @@ - + Exe net8.0 true LatestMajor - 2.7.2 + 2.7.3 Steam Downloading Utility SteamRE Team Copyright © SteamRE Team 2024 @@ -26,6 +26,6 @@ - + diff --git a/DepotDownloader/Steam3Session.cs b/DepotDownloader/Steam3Session.cs index d3becfae6..167b7fc84 100644 --- a/DepotDownloader/Steam3Session.cs +++ b/DepotDownloader/Steam3Session.cs @@ -29,7 +29,7 @@ public ReadOnlyCollection Licenses public Dictionary AppTokens { get; } = []; public Dictionary PackageTokens { get; } = []; public Dictionary DepotKeys { get; } = []; - public ConcurrentDictionary<(uint, string), TaskCompletionSource> CDNAuthTokens { get; } = []; + public ConcurrentDictionary<(uint, string), TaskCompletionSource> CDNAuthTokens { get; } = []; public Dictionary AppInfo { get; } = []; public Dictionary PackageInfo { get; } = []; public Dictionary AppBetaPasswords { get; } = []; @@ -323,7 +323,7 @@ public async Task GetDepotManifestRequestCodeAsync(uint depotId, uint app public async Task RequestCDNAuthToken(uint appid, uint depotid, Server server) { var cdnKey = (depotid, server.Host); - var completion = new TaskCompletionSource(); + var completion = new TaskCompletionSource(); if (bAborted || !CDNAuthTokens.TryAdd(cdnKey, completion)) { @@ -332,7 +332,7 @@ public async Task RequestCDNAuthToken(uint appid, uint depotid, Server server) DebugLog.WriteLine(nameof(Steam3Session), $"Requesting CDN auth token for {server.Host}"); - var cdnAuth = await steamApps.GetCDNAuthToken(appid, depotid, server.Host); + var cdnAuth = await steamContent.GetCDNAuthToken(appid, depotid, server.Host); Console.WriteLine($"Got CDN auth token for {server.Host} result: {cdnAuth.Result} (expires {cdnAuth.Expiration})");