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 authored and GitHub committed 2023-04-26 12:19:02 +03:00
commit 4b2fb1f7b7
1 file changed
+1 -1
+1 -1
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)
{