From 5db36f6b7f463620b0b29626eeebc847b777ab17 Mon Sep 17 00:00:00 2001 From: loki-47-6F-64 Date: Thu, 4 Aug 2022 20:44:05 +0200 Subject: [PATCH] show shorter path for cloud saves --- src/downloader.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/downloader.cpp b/src/downloader.cpp index fb4a65b..65b50b4 100644 --- a/src/downloader.cpp +++ b/src/downloader.cpp @@ -4872,17 +4872,17 @@ void Downloader::galaxyShowCloudSavesById(const std::string& product_id, int bui auto time = boost::filesystem::last_write_time(filepath) - 1; 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) { - std::cout << filepath << " :: Already up to date" << std::endl; + std::cout << csf.path << " :: Already up to date" << std::endl; } else { - std::cout << filepath << " :: Out of date" << std::endl; + std::cout << csf.path << " :: Out of date" << std::endl; } } else { - std::cout << filepath << " :: Isn't downloaded yet" << std::endl; + std::cout << csf.path << " :: Isn't downloaded yet" << std::endl; } }); }