Version 2.6

This commit is contained in:
Sude 2013-06-08 00:51:30 +03:00
parent f1a138e6bf
commit b1db888094
2 changed files with 3 additions and 19 deletions

View File

@ -21,7 +21,7 @@
# endif
#endif
#define VERSION_NUMBER "2.5"
#define VERSION_NUMBER "2.6"
#ifndef VERSION_STRING
# define VERSION_STRING "LGOGDownloader " VERSION_NUMBER

View File

@ -139,29 +139,19 @@ int Downloader::login()
void Downloader::updateCheck()
{
if (gogAPI->user.notifications_forum)
{
std::cout << gogAPI->user.notifications_forum << " new forum replies" << std::endl;
}
else
{
std::cout << "No new forum replies" << std::endl;
}
if (gogAPI->user.notifications_messages)
{
std::cout << gogAPI->user.notifications_messages << " new private message(s)" << std::endl;
}
else
{
std::cout << "No new private messages" << std::endl;
}
if (gogAPI->user.notifications_games)
{
std::cout << gogAPI->user.notifications_games << " updated game(s)" << std::endl;
}
else
{
std::cout << "No updated games" << std::endl;
}
if (gogAPI->user.notifications_games)
{
@ -188,9 +178,7 @@ void Downloader::getGameList()
{
// GameRegex filter aliases
if (config.sGameRegex == "all")
{
config.sGameRegex = ".*";
}
if (config.sGameRegex == "free")
{
@ -204,18 +192,14 @@ void Downloader::getGameList()
for (unsigned int i = 0; i < gameNames.size(); ++i)
{
if (boost::regex_search(gameNames[i], what, expression))
{
gameNamesFiltered.push_back(gameNames[i]);
}
}
gameNames = gameNamesFiltered;
}
}
if (config.bListDetails || config.bDownload || config.bRepair)
{
this->getGameDetails();
}
}
/* Get detailed info about the games