From 948e581d16040164236e3a36698eb5b5d2390515 Mon Sep 17 00:00:00 2001 From: Michael Busby Date: Mon, 6 Feb 2012 19:13:35 -0600 Subject: [PATCH] DepotDownloader: Skip downloading checksums if we're only going to download the manifest and quit --- DepotDownloader/ContentDownloader.cs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index eeeb0098..26e427c4 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -655,11 +655,16 @@ namespace DepotDownloader Console.WriteLine( " Done!" ); - Console.Write("Downloading depot checksums..."); + Steam2ChecksumData checksums = null; + if(!Config.DownloadManifestOnly) + { + // Skip downloading checksums if we're only interested in manifests. + Console.Write("Downloading depot checksums..."); - Steam2ChecksumData checksums = session.DownloadChecksums(); + checksums = session.DownloadChecksums(); - Console.WriteLine(" Done!"); + Console.WriteLine(" Done!"); + } StringBuilder manifestBuilder = new StringBuilder();