From 0b88f9361eb2824cedb69bc185ac18ef25af0948 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 26 Apr 2019 12:15:26 +0300 Subject: [PATCH] Skip OS check if depotid is specified directly Fixes #48 --- DepotDownloader/Program.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DepotDownloader/Program.cs b/DepotDownloader/Program.cs index 71496a3d..7d882812 100644 --- a/DepotDownloader/Program.cs +++ b/DepotDownloader/Program.cs @@ -140,6 +140,12 @@ namespace DepotDownloader Console.WriteLine( "Error: -manifest requires -depot to be specified" ); return; } + + if ( depotId != ContentDownloader.INVALID_DEPOT_ID && !ContentDownloader.Config.DownloadAllPlatform ) + { + Console.WriteLine( "DepotID specified, platform check will be skipped." ); + ContentDownloader.Config.DownloadAllPlatforms = true; + } } if ( InitializeSteam( username, password ) )