|
|
|
@ -110,10 +110,13 @@ namespace DepotDownloader
|
|
|
|
ContentDownloader.Config.MaxServers = Math.Max( ContentDownloader.Config.MaxServers, ContentDownloader.Config.MaxDownloads );
|
|
|
|
ContentDownloader.Config.MaxServers = Math.Max( ContentDownloader.Config.MaxServers, ContentDownloader.Config.MaxDownloads );
|
|
|
|
|
|
|
|
|
|
|
|
if ( username != null && password == null && ( !ContentDownloader.Config.RememberPassword || !ConfigStore.TheConfig.LoginKeys.ContainsKey( username ) ) )
|
|
|
|
if ( username != null && password == null && ( !ContentDownloader.Config.RememberPassword || !ConfigStore.TheConfig.LoginKeys.ContainsKey( username ) ) )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
do
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Console.Write("Enter account password for \"{0}\": ", username);
|
|
|
|
Console.Write("Enter account password for \"{0}\": ", username);
|
|
|
|
password = Util.ReadPassword();
|
|
|
|
password = Util.ReadPassword();
|
|
|
|
Console.WriteLine();
|
|
|
|
Console.WriteLine();
|
|
|
|
|
|
|
|
} while ( String.Empty == password );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ( username == null )
|
|
|
|
else if ( username == null )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|