mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Fix downloading language packs with file id
This commit is contained in:
parent
7b1127a85e
commit
3fe58a06a1
@ -2962,6 +2962,8 @@ void Downloader::downloadFileWithId(const std::string& fileid_string, const std:
|
||||
url = gogAPI->getInstallerLink(gamename, fileid);
|
||||
else if (fileid.find("patch") != std::string::npos)
|
||||
url = gogAPI->getPatchLink(gamename, fileid);
|
||||
else if (fileid.find("langpack") != std::string::npos)
|
||||
url = gogAPI->getLanguagePackLink(gamename, fileid);
|
||||
else
|
||||
url = gogAPI->getExtraLink(gamename, fileid);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user