[FIX] Логгирование места, куда загружатся обновления

This commit is contained in:
Gravit 2019-05-20 23:39:45 +07:00
parent 4371369dba
commit af5d99aa0b

View file

@ -210,6 +210,7 @@ public UpdateRequestEvent requestDo(StandartClientWebSocketService service) thro
startTime = Instant.now();
updateState("UnknownFile", 0L, 100);
ListDownloader listDownloader = new ListDownloader();
LogHelper.info("Download %s to %s", dirName, dir.toAbsolutePath().toString());
if(e.zip && !adds.isEmpty())
{
listDownloader.downloadZip(e.url, dir, this::updateState, (add) -> totalDownloaded += add);