DepotDownloader: Skip downloading checksums if we're only going to download the manifest and quit

This commit is contained in:
Michael Busby committed 2012-02-06 19:13:35 -06:00
1 parent 89cdae3ef3
commit 948e581d16
1 file changed
+8 -3
+8 -3
View File
@@ -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();