[FIX] Попытка исправить #340

This commit is contained in:
Zaxar163 2019-10-10 06:56:18 +02:00
parent cb91f83ec2
commit ef1b61d258
No known key found for this signature in database
GPG key ID: 1FE4F2E1F053831B

View file

@ -122,6 +122,7 @@ public void downloadZip(String base, List<DownloadTask> applies, Path dstDirFile
continue; // Skip directories continue; // Skip directories
// Unpack entry // Unpack entry
String name = entry.getName(); String name = entry.getName();
callback.stateChanged(name, 0L, entry.getSize());
LogHelper.subInfo("Downloading file: '%s'", name); LogHelper.subInfo("Downloading file: '%s'", name);
if(fullDownload || applies.stream().anyMatch((t) -> t.apply.equals(name))) if(fullDownload || applies.stream().anyMatch((t) -> t.apply.equals(name)))
{ {