diff --git a/CHANGELOG.md b/CHANGELOG.md index 21c6360..5850b32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.2.1 (2017-03-21) +- add instructions for getting the code if there is no token + ## 0.2.0 (2017-03-21) - add filtering support for operating systems and languages diff --git a/Cargo.lock b/Cargo.lock index 6a5b2ea..5787265 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ [root] name = "gog-sync" -version = "0.1.0" +version = "0.2.0" dependencies = [ "chrono 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.21.1 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 40810e6..9530709 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gog-sync" -version = "0.2.0" +version = "0.2.1" authors = ["Sebastian Hugentobler "] description = "Synchronizes a GOG library with a local folder." repository = "https://gitlab.com/thallian/gog-sync" @@ -8,6 +8,8 @@ readme = "README.md" keywords = ["gog", "sync", "cli"] categories = ["command-line-utilities"] license = "MPL-2.0" + +[badges] gitlab = { repository = "thallian/gog-sync", branch = "master" } [dependencies] diff --git a/src/gog.rs b/src/gog.rs index d1f8ed6..a9bead7 100644 --- a/src/gog.rs +++ b/src/gog.rs @@ -212,6 +212,8 @@ impl<'a> Gog<'a> { fn get_code(&self) -> Result { let auth_uri = self.auth_uri(self.client_id.as_str(), self.redirect_uri.as_str()); + println!("Open the following url in a browser, login to your account and paste the \ + resulting code parameter."); println!("{}", auth_uri); let mut code = String::new();