mirror of
https://github.com/SteamRE/DepotDownloader.git
synced 2026-10-19 15:51:50 +00:00
Check for access to other app when depotfromapp is specified, otherwise continue with existing depot information
This commit is contained in:
1 parent
0b722996b5
commit
52d45da141
1 file changed
+9
-1
@@ -221,7 +221,15 @@ namespace DepotDownloader
|
||||
}
|
||||
|
||||
steam3.RequestAppInfo(otherAppId);
|
||||
return GetSteam3DepotManifest(depotId, otherAppId, branch);
|
||||
|
||||
if (AccountHasAccess(otherAppId))
|
||||
{
|
||||
return GetSteam3DepotManifest(depotId, otherAppId, branch);
|
||||
} else {
|
||||
string contentName = GetAppOrDepotName(INVALID_DEPOT_ID, otherAppId);
|
||||
string contentDepotName = GetAppOrDepotName(depotId, appId);
|
||||
Console.WriteLine("Dependent app {0} ({1}) for depot {2} ({3}) is not available from this account.", otherAppId, contentName, depotId, contentDepotName);
|
||||
}
|
||||
}
|
||||
|
||||
var manifests = depotChild["manifests"];
|
||||
|
||||
Reference in new issue
Block a user