mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-02-01 21:42: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)
|
||||
return result;
|
||||
else if (config.bUpdateCheck) // Update check has priority over download and list
|
||||
downloader.updateCheck();
|
||||
else if (config.bDownload) // Download games
|
||||
downloader.download();
|
||||
else if (config.bRepair) // Repair file
|
||||
downloader.repair();
|
||||
else if (config.bListDetails || config.bList) // Detailed list of games/extras
|
||||
downloader.listGames();
|
||||
else if (config.bUpdateCheck) // Detailed list of games/extras
|
||||
downloader.updateCheck();
|
||||
else
|
||||
{ // Show help message
|
||||
std::cout << config.sVersionString << std::endl
|
||||
|
Loading…
x
Reference in New Issue
Block a user