mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Tell the user to try --login if no games are found on the account.
This commit is contained in:
parent
c1e7adeb0b
commit
2aeca35097
@ -1804,6 +1804,10 @@ std::vector<gameItem> Downloader::getGames()
|
|||||||
#endif
|
#endif
|
||||||
page_html = root["html"].asString();
|
page_html = root["html"].asString();
|
||||||
html += page_html;
|
html += page_html;
|
||||||
|
if (page_html.empty() && i == 1)
|
||||||
|
{
|
||||||
|
std::cout << "No games were found on your account. Try --login to refresh your authorization." << std::endl;
|
||||||
|
}
|
||||||
i++;
|
i++;
|
||||||
} while (!page_html.empty());
|
} while (!page_html.empty());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user