mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-19 14:33:04 +03:00
[FIX] Забытое изменение.
This commit is contained in:
parent
f16a781fcf
commit
e4bcda5b3b
2 changed files with 1 additions and 7 deletions
|
@ -3,8 +3,6 @@
|
|||
import java.io.IOError;
|
||||
import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
|
||||
import pro.gravit.launcher.hasher.HashedDir;
|
||||
import pro.gravit.launcher.hasher.HashedEntry;
|
||||
|
|
|
@ -3,16 +3,12 @@
|
|||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.time.Duration;
|
||||
import java.time.Instant;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.Objects;
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
|
||||
import pro.gravit.launcher.Launcher;
|
||||
import pro.gravit.launcher.LauncherAPI;
|
||||
|
@ -215,7 +211,7 @@ public UpdateRequestEvent requestDo(StandartClientWebSocketService service) thro
|
|||
} catch (IOException ex) {
|
||||
LogHelper.error(ex);
|
||||
}
|
||||
if (UpdateData.needsZip((HashedDir)getPathed(name, e.hdir))) {
|
||||
if (UpdateData.needsZipUpdate((HashedDir)getPathed(name, e.hdir), (HashedDir) entry)) {
|
||||
adds.add(new ListDownloader.DownloadTask(path, -1, true));
|
||||
return HashedDir.WalkAction.SKIP_DIR;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue