mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Логгирование места, куда загружатся обновления
This commit is contained in:
parent
4371369dba
commit
af5d99aa0b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue