Specify that anonymous account will be used when no credentials are given.

pull/8/head
Nicholas Hastings 12 years ago
parent e3bc606112
commit b656218e8a

@ -100,6 +100,10 @@ namespace DepotDownloader
password = Util.ReadPassword(); password = Util.ReadPassword();
Console.WriteLine(); Console.WriteLine();
} }
else if (username == null)
{
Console.WriteLine("No username given. Using anonymous account with dedicated server subscription.");
}
ContentDownloader.InitializeSteam3(username, password); ContentDownloader.InitializeSteam3(username, password);
ContentDownloader.DownloadApp(appId, depotId, branch); ContentDownloader.DownloadApp(appId, depotId, branch);

Loading…
Cancel
Save