Update Program.cs
diff --git a/PokemonGo/RocketAPI/Console/Program.cs b/PokemonGo/RocketAPI/Console/Program.cs
index d7fc3e5..9f5f98e 100644
--- a/PokemonGo/RocketAPI/Console/Program.cs
+++ b/PokemonGo/RocketAPI/Console/Program.cs
@@ -152,7 +152,7 @@ namespace PokemonGo.RocketAPI.Console
await client.DoPtcLogin(ClientSettings.PtcUsername, ClientSettings.PtcPassword);
break;
case AuthType.Google:
- await client.DoGoogleLogin();
+ await client.DoGoogleLogin(ClientSettings.Email, ClientSettings.Password);
break;
}
@@ -174,6 +174,11 @@ namespace PokemonGo.RocketAPI.Console
ColoredConsoleWrite(ConsoleColor.Cyan, "Account: " + ClientSettings.PtcUsername);
ColoredConsoleWrite(ConsoleColor.Cyan, "Password: " + ClientSettings.PtcPassword + "\n");
}
+ else
+ {
+ ColoredConsoleWrite(Color.Cyan, "Email: " + ClientSettings.Email);
+ ColoredConsoleWrite(Color.Cyan, "Password: " + ClientSettings.Password + "\n");
+ }
ColoredConsoleWrite(ConsoleColor.DarkGray, "Name: " + profile.Profile.Username);
ColoredConsoleWrite(ConsoleColor.DarkGray, "Team: " + profile.Profile.Team);
if (profile.Profile.Currency.ToArray()[0].Amount > 0) // If player has any pokecoins it will show how many they have.
You may download the files in Public Git.