Merge pull request #433 from SteamRE/no-old-gids

Remove code to handle older style of gids
pull/534/head
Pavel Djundik 2 years ago committed by GitHub
commit 5b6315c8ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -241,7 +241,7 @@ namespace DepotDownloader
if (manifests.Children.Count == 0 && manifests_encrypted.Children.Count == 0)
return INVALID_MANIFEST_ID;
var node = manifests[branch].Children.Count > 0 ? manifests[branch]["gid"] : manifests[branch];
var node = manifests[branch]["gid"];
if (node == KeyValue.Invalid && !string.Equals(branch, DEFAULT_BRANCH, StringComparison.OrdinalIgnoreCase))
{
@ -257,11 +257,6 @@ namespace DepotDownloader
var encrypted_gid = node_encrypted["gid"];
if (encrypted_gid == KeyValue.Invalid)
{
encrypted_gid = node_encrypted["encrypted_gid_2"];
}
if (encrypted_gid != KeyValue.Invalid)
{
// Submit the password to Steam now to get encryption keys

Loading…
Cancel
Save