mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-02-02 05:52:31 +01:00
Update check has priority over downloading or listing files
This commit is contained in:
parent
14432fb9aa
commit
b910d4bcb9
4
main.cpp
4
main.cpp
@ -172,14 +172,14 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (config.bLogin)
|
if (config.bLogin)
|
||||||
return result;
|
return result;
|
||||||
|
else if (config.bUpdateCheck) // Update check has priority over download and list
|
||||||
|
downloader.updateCheck();
|
||||||
else if (config.bDownload) // Download games
|
else if (config.bDownload) // Download games
|
||||||
downloader.download();
|
downloader.download();
|
||||||
else if (config.bRepair) // Repair file
|
else if (config.bRepair) // Repair file
|
||||||
downloader.repair();
|
downloader.repair();
|
||||||
else if (config.bListDetails || config.bList) // Detailed list of games/extras
|
else if (config.bListDetails || config.bList) // Detailed list of games/extras
|
||||||
downloader.listGames();
|
downloader.listGames();
|
||||||
else if (config.bUpdateCheck) // Detailed list of games/extras
|
|
||||||
downloader.updateCheck();
|
|
||||||
else
|
else
|
||||||
{ // Show help message
|
{ // Show help message
|
||||||
std::cout << config.sVersionString << std::endl
|
std::cout << config.sVersionString << std::endl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user