[FIX] Некорректный UpdateRequest

This commit is contained in:
Gravit 2019-12-05 02:25:53 +07:00
parent 20913cdbc6
commit b21c8b04c3
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -21,6 +21,7 @@
public class LauncherUpdateController { public class LauncherUpdateController {
public void postDiff(UpdateRequest request, UpdateRequestEvent e, HashedDir.Diff diff) throws IOException { public void postDiff(UpdateRequest request, UpdateRequestEvent e, HashedDir.Diff diff) throws IOException {
/*
if (e.zip && e.fullDownload) return; if (e.zip && e.fullDownload) return;
LogHelper.info("Enabled HStore feature. Find"); LogHelper.info("Enabled HStore feature. Find");
AtomicReference<NewLauncherSettings.HashedStoreEntry> lastEn = new AtomicReference<>(null); AtomicReference<NewLauncherSettings.HashedStoreEntry> lastEn = new AtomicReference<>(null);
@ -74,6 +75,7 @@ public void postDiff(UpdateRequest request, UpdateRequestEvent e, HashedDir.Diff
} }
return HashedDir.WalkAction.CONTINUE; return HashedDir.WalkAction.CONTINUE;
}); });
*/
} }
public Path tryFind(NewLauncherSettings.HashedStoreEntry en, HashedFile file) throws IOException { public Path tryFind(NewLauncherSettings.HashedStoreEntry en, HashedFile file) throws IOException {