Commit Graph
268 Commits
Author SHA1 Message Date
Ryan Kistner 184ea54020 Don't retrieve AppTickets as they aren't needed anymore 2017-12-01 00:09:19 -07:00
Yaakov 6105a99e72 Check for cancellation after semaphore completion
It doesn’t look like anything actually calls Cancel() on this CancellationTokenSource, but if something ever does we’d want this to work properly.
2017-09-09 23:57:02 +03:00
Yaakov 1e3ca8f016 Missed something fairly important
It kind of helps to actually use the semaphore.

Missed this when reapplying changes after whitespace.
2017-09-09 23:55:44 +03:00
Yaakov 1ec611cb34 Update Travis for .NET Core SDK 2.0 2017-09-08 12:48:03 +03:00
Yaakov fb3e693755 Update to SK2 Alpha8 and .NET Core 2.0 2017-09-08 12:47:47 +03:00
Netshroud 0da80d9601 Merge remote-tracking branch 'origin/master' into dotnet-core
# Conflicts:
#	DepotDownloader/ContentDownloader.cs
#	DepotDownloader/Program.cs
2017-09-08 12:40:55 +03:00
Sunner 42b832e465 Added operating system switch (#24)
* Added operating system switch

* Fix typo and throw error if both -os and -all-platforms are specified
2017-09-02 13:20:27 -04:00
Ryan Kistner 8daaf0daa2 Don't error out if a user supplies a password without -remember-me but a matching login key was found DepotDownloader_2.2.2 2017-07-27 22:55:32 -06:00
Netshroud de775d5c4b Save a lookup in login key dictionary 2017-07-28 14:30:31 +10:00
Ryan Kistner 58b5b6185e Touched formatting and line endings. Tweaked login key handling. 2017-07-27 22:20:00 -06:00
Ryan Kistner dceed3a9a1 Don't forget about anonymous users 2017-07-27 15:03:21 -06:00
Ryan Kistner 17d5f7357d Initialize LoginKeys dictionary 2017-07-27 14:55:03 -06:00
Nicholas Hastings 974eb1d369 Add -remember-password to README. 2017-07-26 18:35:02 -04:00
Nicholas Hastings 6e5eb77738 Add -remember-password to usage info. 2017-07-26 18:34:02 -04:00
Nicholas Hastings 6e4a764bb9 Add support for remembering password (loginkey). 2017-07-26 18:30:29 -04:00
Netshroud 52f12030c1 Change SteamKit2 filesystem project reference to NuGet package reference 2017-03-28 19:32:27 +11:00
Netshroud 3fb5da1098 Add .NET RIDs for "dotnet publish" 2017-03-27 17:52:10 +11:00
Netshroud 7575cd0757 Update CI for .NET Core 2017-03-27 17:51:53 +11:00
Netshroud 359a8d017d Restore Environment.OSVersion and P/Invoke for getting OS type on .NET Framework 2017-03-27 17:50:28 +11:00
Netshroud 8eb3f711b9 thanks @xpaw 2017-03-26 17:44:30 +11:00
Netshroud b17e343d0e Fix bug where DD would exit prematurely 2017-03-26 12:26:39 +11:00
Netshroud ab9ca2a7da Cleanup 2017-03-26 12:26:29 +11:00
Netshroud c0b6d0ce3c Convert to .NET Core.
Works on macOS, haven't tried Windows / .NET Framework yet.
2017-03-25 23:44:25 +11:00
Ryan Kistner 35aa666ea5 Always process Disconnect callback before pausing for input. This prevents the Disconnect callback from being processed after the Connect 2017-02-27 20:46:49 -07:00
Nicholas Hastings 63569977ec Bump version number. DepotDownloader_2.2.1 2017-02-23 07:32:47 -05:00
Nicholas Hastings 8277f10f35 Update to SteamKit v1.8.1. 2017-02-23 06:49:12 -05:00
Nicholas Hastings 8659e77adc Cleanup. 2017-02-21 20:40:50 -05:00
Nicholas Hastings ab86a7d6ac If account doesn't own app, attempt to obtain FreeOnDemand license for it. 2017-02-21 20:37:17 -05:00
Nicholas Hastings 01d87d6102 Output branch being used. 2017-02-20 20:02:12 -05:00
Nicholas Hastings 891ebd13a2 Fix crash when downloading from passworded branches. 2017-02-20 08:09:22 -05:00
Nicholas Hastings 3d1764889f Fix unused var warning. 2017-02-20 07:45:01 -05:00
Ryan Kistner 251b4010ee Use ConcurrentDictionary and flatten keys for CDNAuthTokens 2017-02-09 16:25:42 -07:00
Ryan Kistner 7f5ca92659 Report when we aren't able to retrieve a CDN auth token 2017-02-09 10:37:01 -07:00
Ryan Kistner 6278fc2b94 Added CheckAppBetaPassword to retrieve encryption keys for encrypted_gid_2 depots 2017-01-21 22:40:30 -07:00
Ryan Kistner 97b8716c86 Pass appId all the way through for correctness 2017-01-08 14:27:56 -07:00
Nicholas Hastings 9a9cf7b57a Fix downloads for shared depots that provide their own manifests.
Before, we could only do shared depots that referred to their parent app,
when parent app access was also available.
2016-11-07 18:58:13 -05:00
Nicholas Hastings a591632888 Bump version. DepotDownloader_2.2.0 2016-07-10 09:50:34 -04:00
Nicholas Hastings b599768bd8 Update SteamKit 1.6.4 -> 1.8.0. Change .NET target 4.0 -> 4.5. 2016-07-10 09:47:06 -04:00
Nicholas Hastings 65b6d97fa2 If an included depot doesn't have the requested branch, fall back to "public".
(Mirrors Steam behavior)
2016-07-10 09:41:59 -04:00
Ryan Kistner 06a7d099ba Style fixes for CDNClientPool 2016-07-05 19:31:16 -06:00
Ryan Kistner 9b778c374e Abort main flow if we can't connect after STEAM3_TIMEOUT seconds 2016-07-02 23:00:55 -06:00
Ryan Kistner bdfd56b482 Merge branch 'cdn-pool' 2016-06-24 13:21:36 -06:00
Ryan Kistner 3b3f6e272e Switched to plain console logging 2016-06-24 13:20:56 -06:00
Nicholas Hastings b93473aa3b Increase default MaxServers. 2016-06-23 08:01:42 -04:00
Ryan Kistner 0869f85b93 Added CDN client pooling 2016-06-22 19:46:20 -06:00
Nicholas Hastings 8914bc5c67 Fix issues when downloading content in shared depots when shared depot is owned
but app it is from is not.
2016-06-07 21:42:32 -04:00
Ryan Kistner daa6e0f9ef Merge pull request #8 from xPaw/2fa
Add 2FA support
2015-10-04 16:14:13 -06:00
Pavel Djundik 1ce2a097df Add 2FA support 2015-10-05 01:12:43 +03:00
Netshroud 72c32a618e Remove old nuget restore props and binaries 2015-08-09 14:50:35 +10:00
Netshroud 1a8a892a67 Use csharp Travis container config 2015-08-09 14:47:33 +10:00