mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-01-09 00:59:44 +03:00
Фиксы SetProfileRequest
This commit is contained in:
parent
d845b73c85
commit
c472e8d033
2 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,7 @@ public void reply() throws Exception {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
clientData.profile = p.object;
|
clientData.profile = p.object;
|
||||||
|
writeNoError(output);
|
||||||
output.writeBoolean(true);
|
output.writeBoolean(true);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
import ru.gravit.launcher.hasher.HashedDir;
|
import ru.gravit.launcher.hasher.HashedDir;
|
||||||
import ru.gravit.launcher.hasher.HashedEntry;
|
import ru.gravit.launcher.hasher.HashedEntry;
|
||||||
import ru.gravit.launcher.hasher.HashedFile;
|
import ru.gravit.launcher.hasher.HashedFile;
|
||||||
|
import ru.gravit.launcher.request.auth.SetProfileRequest;
|
||||||
import ru.gravit.launcher.request.update.LauncherRequest;
|
import ru.gravit.launcher.request.update.LauncherRequest;
|
||||||
import ru.gravit.launcher.request.update.ProfilesRequest;
|
import ru.gravit.launcher.request.update.ProfilesRequest;
|
||||||
import ru.gravit.utils.HTTPRequest;
|
import ru.gravit.utils.HTTPRequest;
|
||||||
|
@ -89,6 +90,7 @@ public static void addLauncherClassBindings(Map<String, Object> bindings) {
|
||||||
bindings.put("CheckServerRequestClass", CheckServerRequest.class);
|
bindings.put("CheckServerRequestClass", CheckServerRequest.class);
|
||||||
bindings.put("UpdateRequestClass", UpdateRequest.class);
|
bindings.put("UpdateRequestClass", UpdateRequest.class);
|
||||||
bindings.put("LauncherRequestClass", LauncherRequest.class);
|
bindings.put("LauncherRequestClass", LauncherRequest.class);
|
||||||
|
bindings.put("SetProfileRequestClass", SetProfileRequest.class);
|
||||||
bindings.put("ProfilesRequestClass", ProfilesRequest.class);
|
bindings.put("ProfilesRequestClass", ProfilesRequest.class);
|
||||||
bindings.put("ProfileByUsernameRequestClass", ProfileByUsernameRequest.class);
|
bindings.put("ProfileByUsernameRequestClass", ProfileByUsernameRequest.class);
|
||||||
bindings.put("ProfileByUUIDRequestClass", ProfileByUUIDRequest.class);
|
bindings.put("ProfileByUUIDRequestClass", ProfileByUUIDRequest.class);
|
||||||
|
|
Loading…
Reference in a new issue