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.needUpdate = needUpdate;
|
||||||
this.url = url;
|
this.url = url;
|
||||||
}
|
}
|
||||||
|
@LauncherNetworkAPI
|
||||||
public boolean needUpdate;
|
public boolean needUpdate;
|
||||||
|
|
||||||
public LauncherRequestEvent(boolean b, byte[] digest) {
|
public LauncherRequestEvent(boolean b, byte[] digest) {
|
||||||
|
|
|
@ -20,8 +20,6 @@ public ProfilesRequestEvent(List<ClientProfile> profiles) {
|
||||||
public ProfilesRequestEvent() {
|
public ProfilesRequestEvent() {
|
||||||
}
|
}
|
||||||
|
|
||||||
String error;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public UUID getUUID() {
|
public UUID getUUID() {
|
||||||
return uuid;
|
return uuid;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package ru.gravit.launcher.hasher;
|
package ru.gravit.launcher.hasher;
|
||||||
|
|
||||||
import ru.gravit.launcher.LauncherAPI;
|
import ru.gravit.launcher.LauncherAPI;
|
||||||
|
import ru.gravit.launcher.LauncherNetworkAPI;
|
||||||
import ru.gravit.launcher.serialize.HInput;
|
import ru.gravit.launcher.serialize.HInput;
|
||||||
import ru.gravit.launcher.serialize.HOutput;
|
import ru.gravit.launcher.serialize.HOutput;
|
||||||
import ru.gravit.launcher.serialize.stream.EnumSerializer;
|
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);
|
return super.visitFile(file, attrs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@LauncherNetworkAPI
|
||||||
private final Map<String, HashedEntry> map = new HashMap<>(32);
|
private final Map<String, HashedEntry> map = new HashMap<>(32);
|
||||||
|
|
||||||
@LauncherAPI
|
@LauncherAPI
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package ru.gravit.launcher.hasher;
|
package ru.gravit.launcher.hasher;
|
||||||
|
|
||||||
import ru.gravit.launcher.LauncherAPI;
|
import ru.gravit.launcher.LauncherAPI;
|
||||||
|
import ru.gravit.launcher.LauncherNetworkAPI;
|
||||||
import ru.gravit.launcher.serialize.HInput;
|
import ru.gravit.launcher.serialize.HInput;
|
||||||
import ru.gravit.launcher.serialize.HOutput;
|
import ru.gravit.launcher.serialize.HOutput;
|
||||||
import ru.gravit.utils.helper.IOHelper;
|
import ru.gravit.utils.helper.IOHelper;
|
||||||
|
@ -18,6 +19,7 @@ public final class HashedFile extends HashedEntry {
|
||||||
// Instance
|
// Instance
|
||||||
@LauncherAPI
|
@LauncherAPI
|
||||||
public final long size;
|
public final long size;
|
||||||
|
@LauncherNetworkAPI
|
||||||
private final byte[] digest;
|
private final byte[] digest;
|
||||||
|
|
||||||
@LauncherAPI
|
@LauncherAPI
|
||||||
|
|
Loading…
Reference in a new issue