Merge pull request #425 from SteamRE/psy/expanded-branch-format

Add support for appinfo depots section with expanded branch info.
This commit is contained in:
Pavel Djundik
2023-04-26 12:19:02 +03:00
committed by GitHub

View File

@@ -244,7 +244,7 @@ namespace DepotDownloader
if (manifests.Children.Count == 0 && manifests_encrypted.Children.Count == 0)
return INVALID_MANIFEST_ID;
var node = manifests[branch];
var node = manifests[branch].Children.Count > 0 ? manifests[branch]["gid"] : manifests[branch];
if (branch != "Public" && node == KeyValue.Invalid)
{