mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Fix using local xml for hashes in Downloader::downloadFile
This commit is contained in:
parent
c140156216
commit
d591f08acd
@ -878,7 +878,7 @@ CURLcode Downloader::downloadFile(const std::string& url, const std::string& fil
|
|||||||
|
|
||||||
bool bSameVersion = true; // assume same version
|
bool bSameVersion = true; // assume same version
|
||||||
bool bLocalXMLExists = boost::filesystem::exists(local_xml_file); // This is additional check to see if remote xml should be saved to speed up future version checks
|
bool bLocalXMLExists = boost::filesystem::exists(local_xml_file); // This is additional check to see if remote xml should be saved to speed up future version checks
|
||||||
std::string localHash = this->getLocalFileHash(filepath);
|
std::string localHash = this->getLocalFileHash(filepath, gamename);
|
||||||
|
|
||||||
if (!xml_data.empty())
|
if (!xml_data.empty())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user