|
|
|
@ -93,6 +93,7 @@ namespace DepotDownloader
|
|
|
|
ContentDownloader.Config.MaxServers = GetParameter<int>(args, "-max-servers", 8);
|
|
|
|
ContentDownloader.Config.MaxServers = GetParameter<int>(args, "-max-servers", 8);
|
|
|
|
ContentDownloader.Config.MaxDownloads = GetParameter<int>(args, "-max-downloads", 4);
|
|
|
|
ContentDownloader.Config.MaxDownloads = GetParameter<int>(args, "-max-downloads", 4);
|
|
|
|
string branch = GetParameter<string>(args, "-branch") ?? GetParameter<string>(args, "-beta") ?? "Public";
|
|
|
|
string branch = GetParameter<string>(args, "-branch") ?? GetParameter<string>(args, "-beta") ?? "Public";
|
|
|
|
|
|
|
|
var forceDepot = HasParameter(args, "-force-depot");
|
|
|
|
|
|
|
|
|
|
|
|
ContentDownloader.Config.MaxServers = Math.Max(ContentDownloader.Config.MaxServers, ContentDownloader.Config.MaxDownloads);
|
|
|
|
ContentDownloader.Config.MaxServers = Math.Max(ContentDownloader.Config.MaxServers, ContentDownloader.Config.MaxDownloads);
|
|
|
|
|
|
|
|
|
|
|
|
@ -108,7 +109,7 @@ namespace DepotDownloader
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ContentDownloader.InitializeSteam3(username, password);
|
|
|
|
ContentDownloader.InitializeSteam3(username, password);
|
|
|
|
ContentDownloader.DownloadApp(appId, depotId, branch);
|
|
|
|
ContentDownloader.DownloadApp(appId, depotId, branch, forceDepot);
|
|
|
|
ContentDownloader.ShutdownSteam3();
|
|
|
|
ContentDownloader.ShutdownSteam3();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|