mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Фикс runtime части
This commit is contained in:
parent
fefafc30c1
commit
2590ee7533
3 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ function makeProfilesRequest(callback) {
|
|||
startTask(task);
|
||||
}
|
||||
function makeSetProfileRequest(profile, callback) {
|
||||
var task = newRequestTask(new SetProfileRequest(Launcher.getConfig(), profile));
|
||||
var task = newRequestTask(new SetProfileRequest(profile));
|
||||
|
||||
// Set task properties and start
|
||||
processing.setTaskProperties(task, callback, function() {
|
||||
|
|
|
@ -17,7 +17,6 @@ var ServerPinger = ServerPingerClass.static;
|
|||
var Request = RequestClass.static;
|
||||
var RequestType = RequestTypeClass.static;
|
||||
var RequestException = RequestExceptionClass.static;
|
||||
var CustomRequest = CustomRequestClass.static;
|
||||
var PingRequest = PingRequestClass.static;
|
||||
var AuthRequest = AuthRequestClass.static;
|
||||
var JoinServerRequest = JoinServerRequestClass.static;
|
||||
|
|
|
@ -52,6 +52,7 @@ public LauncherConfig(HInput input) throws IOException, InvalidKeySpecException
|
|||
guardLicenseEncryptKey = config.guardLicenseEncryptKey;
|
||||
guardLicenseKey = config.guardLicenseKey;
|
||||
guardLicenseName = config.guardLicenseName;
|
||||
address = config.address;
|
||||
LauncherEnvironment env;
|
||||
if (config.env == 0) env = LauncherEnvironment.DEV;
|
||||
else if (config.env == 1) env = LauncherEnvironment.DEBUG;
|
||||
|
|
Loading…
Reference in a new issue