Add support for appinfo depots section with expanded branch info.

pull/425/head
Nicholas Hastings 3 years ago
parent 347806b53b
commit 196e99b30d

@ -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)
{

Loading…
Cancel
Save