mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
show shorter path for cloud saves
This commit is contained in:
parent
0b8a762953
commit
5db36f6b7f
@ -4872,17 +4872,17 @@ void Downloader::galaxyShowCloudSavesById(const std::string& product_id, int bui
|
|||||||
auto time = boost::filesystem::last_write_time(filepath) - 1;
|
auto time = boost::filesystem::last_write_time(filepath) - 1;
|
||||||
|
|
||||||
if(csf.fileSize < size) {
|
if(csf.fileSize < size) {
|
||||||
std::cout << filepath << " :: not yet completed download" << std::endl;
|
std::cout << csf.path << " :: not yet completed download" << std::endl;
|
||||||
}
|
}
|
||||||
else if(boost::posix_time::from_time_t(time) <= csf.lastModified) {
|
else if(boost::posix_time::from_time_t(time) <= csf.lastModified) {
|
||||||
std::cout << filepath << " :: Already up to date" << std::endl;
|
std::cout << csf.path << " :: Already up to date" << std::endl;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
std::cout << filepath << " :: Out of date" << std::endl;
|
std::cout << csf.path << " :: Out of date" << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
std::cout << filepath << " :: Isn't downloaded yet" << std::endl;
|
std::cout << csf.path << " :: Isn't downloaded yet" << std::endl;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user