From c1e7adeb0bcd4e014a310ba7f51f650c9e47d77a Mon Sep 17 00:00:00 2001 From: Sude Date: Thu, 3 Jul 2014 21:38:53 +0300 Subject: [PATCH] Display filepath for patches when downloading Makes the behavior consistent with installers and extras --- src/downloader.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/downloader.cpp b/src/downloader.cpp index 12f0942..2cd168e 100644 --- a/src/downloader.cpp +++ b/src/downloader.cpp @@ -775,6 +775,7 @@ void Downloader::download() XML = gogAPI->getXML(games[i].gamename, games[i].patches[j].id); if (!games[i].patches[j].name.empty()) std::cout << "Dowloading: " << games[i].patches[j].name << std::endl; + std::cout << filepath << std::endl; this->downloadFile(url, filepath, XML, games[i].gamename); std::cout << std::endl; } @@ -887,6 +888,7 @@ void Downloader::download() XML = gogAPI->getXML(games[i].dlcs[j].gamename, games[i].dlcs[j].patches[k].id); if (!games[i].dlcs[j].patches[k].name.empty()) std::cout << "Dowloading: " << games[i].dlcs[j].patches[k].name << std::endl; + std::cout << filepath << std::endl; this->downloadFile(url, filepath, XML, games[i].dlcs[j].gamename); std::cout << std::endl; }