mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Фиксы работы с ProGuard
This commit is contained in:
parent
a49e523d5d
commit
d7351ce474
4 changed files with 5 additions and 4 deletions
|
@ -19,7 +19,7 @@ public LauncherRequestEvent(boolean needUpdate, String url) {
|
|||
this.needUpdate = needUpdate;
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
@LauncherNetworkAPI
|
||||
public boolean needUpdate;
|
||||
|
||||
public LauncherRequestEvent(boolean b, byte[] digest) {
|
||||
|
|
|
@ -20,8 +20,6 @@ public ProfilesRequestEvent(List<ClientProfile> profiles) {
|
|||
public ProfilesRequestEvent() {
|
||||
}
|
||||
|
||||
String error;
|
||||
|
||||
@Override
|
||||
public UUID getUUID() {
|
||||
return uuid;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package ru.gravit.launcher.hasher;
|
||||
|
||||
import ru.gravit.launcher.LauncherAPI;
|
||||
import ru.gravit.launcher.LauncherNetworkAPI;
|
||||
import ru.gravit.launcher.serialize.HInput;
|
||||
import ru.gravit.launcher.serialize.HOutput;
|
||||
import ru.gravit.launcher.serialize.stream.EnumSerializer;
|
||||
|
@ -100,7 +101,7 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IO
|
|||
return super.visitFile(file, attrs);
|
||||
}
|
||||
}
|
||||
|
||||
@LauncherNetworkAPI
|
||||
private final Map<String, HashedEntry> map = new HashMap<>(32);
|
||||
|
||||
@LauncherAPI
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package ru.gravit.launcher.hasher;
|
||||
|
||||
import ru.gravit.launcher.LauncherAPI;
|
||||
import ru.gravit.launcher.LauncherNetworkAPI;
|
||||
import ru.gravit.launcher.serialize.HInput;
|
||||
import ru.gravit.launcher.serialize.HOutput;
|
||||
import ru.gravit.utils.helper.IOHelper;
|
||||
|
@ -18,6 +19,7 @@ public final class HashedFile extends HashedEntry {
|
|||
// Instance
|
||||
@LauncherAPI
|
||||
public final long size;
|
||||
@LauncherNetworkAPI
|
||||
private final byte[] digest;
|
||||
|
||||
@LauncherAPI
|
||||
|
|
Loading…
Reference in a new issue