mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Add support to ignore dlc count using game specific config with --list
This commit is contained in:
parent
64cae133cf
commit
ceef80167c
@ -2194,6 +2194,16 @@ std::vector<gameItem> Downloader::getGames()
|
||||
}
|
||||
}
|
||||
|
||||
// Check game specific config
|
||||
if (!config.bUpdateCache) // Disable game specific config files for cache update
|
||||
{
|
||||
gameSpecificConfig conf;
|
||||
conf.bIgnoreDLCCount = false; // Assume false
|
||||
Util::getGameSpecificConfig(game.name, &conf);
|
||||
if (conf.bIgnoreDLCCount)
|
||||
bDownloadDLCInfo = true;
|
||||
}
|
||||
|
||||
if (bDownloadDLCInfo && !config.sGameRegex.empty())
|
||||
{
|
||||
// don't download unnecessary info if user is only interested in a subset of his account
|
||||
|
Loading…
Reference in New Issue
Block a user