mirror of
https://github.com/SteamRE/DepotDownloader.git
synced 2026-10-19 15:51:50 +00:00
Skip platform check when an explicit depot id is provided
This commit is contained in:
1 parent
2177746a50
commit
e7b89df743
1 file changed
+1
-5
@@ -436,7 +436,7 @@ namespace DepotDownloader
|
||||
if ( depotId != INVALID_DEPOT_ID && id != depotId )
|
||||
continue;
|
||||
|
||||
if ( !Config.DownloadAllPlatforms )
|
||||
if ( depotId == INVALID_DEPOT_ID && !Config.DownloadAllPlatforms )
|
||||
{
|
||||
var depotConfig = depotSection[ "config" ];
|
||||
if ( depotConfig != KeyValue.Invalid && depotConfig[ "oslist" ] != KeyValue.Invalid && !string.IsNullOrWhiteSpace( depotConfig[ "oslist" ].Value ) )
|
||||
@@ -458,10 +458,6 @@ namespace DepotDownloader
|
||||
else if ( depotIDs.Count == 0 )
|
||||
{
|
||||
Console.Write( "Depot {0} not listed for app {1}", depotId, appId );
|
||||
if ( !Config.DownloadAllPlatforms )
|
||||
{
|
||||
Console.Write( " or not available on this platform" );
|
||||
}
|
||||
Console.WriteLine();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user