mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-01 14:04:03 +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();
|
startTime = Instant.now();
|
||||||
updateState("UnknownFile", 0L, 100);
|
updateState("UnknownFile", 0L, 100);
|
||||||
ListDownloader listDownloader = new ListDownloader();
|
ListDownloader listDownloader = new ListDownloader();
|
||||||
|
LogHelper.info("Download %s to %s", dirName, dir.toAbsolutePath().toString());
|
||||||
if(e.zip && !adds.isEmpty())
|
if(e.zip && !adds.isEmpty())
|
||||||
{
|
{
|
||||||
listDownloader.downloadZip(e.url, dir, this::updateState, (add) -> totalDownloaded += add);
|
listDownloader.downloadZip(e.url, dir, this::updateState, (add) -> totalDownloaded += add);
|
||||||
|
|
Loading…
Reference in a new issue