mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-02-02 05:52:31 +01:00
Only return if --save-config is specified
Continue running commands if login was forced due to missing configuration Allow downloading of files even if config is missing with only one prompt for username and password
This commit is contained in:
parent
a066e99bad
commit
9c2f35bb27
3
main.cpp
3
main.cpp
@ -491,6 +491,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
ofs.close();
|
||||
Util::setFilePermissions(config.sConfigFilePath, boost::filesystem::owner_read | boost::filesystem::owner_write);
|
||||
if (config.bSaveConfig)
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
@ -519,7 +520,7 @@ int main(int argc, char *argv[])
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
else if (config.bShowWishlist)
|
||||
if (config.bShowWishlist)
|
||||
downloader.showWishlist();
|
||||
else if (config.bUpdateCache)
|
||||
downloader.updateCache();
|
||||
|
Loading…
x
Reference in New Issue
Block a user