mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +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);
|
startTask(task);
|
||||||
}
|
}
|
||||||
function makeSetProfileRequest(profile, callback) {
|
function makeSetProfileRequest(profile, callback) {
|
||||||
var task = newRequestTask(new SetProfileRequest(Launcher.getConfig(), profile));
|
var task = newRequestTask(new SetProfileRequest(profile));
|
||||||
|
|
||||||
// Set task properties and start
|
// Set task properties and start
|
||||||
processing.setTaskProperties(task, callback, function() {
|
processing.setTaskProperties(task, callback, function() {
|
||||||
|
|
|
@ -17,7 +17,6 @@ var ServerPinger = ServerPingerClass.static;
|
||||||
var Request = RequestClass.static;
|
var Request = RequestClass.static;
|
||||||
var RequestType = RequestTypeClass.static;
|
var RequestType = RequestTypeClass.static;
|
||||||
var RequestException = RequestExceptionClass.static;
|
var RequestException = RequestExceptionClass.static;
|
||||||
var CustomRequest = CustomRequestClass.static;
|
|
||||||
var PingRequest = PingRequestClass.static;
|
var PingRequest = PingRequestClass.static;
|
||||||
var AuthRequest = AuthRequestClass.static;
|
var AuthRequest = AuthRequestClass.static;
|
||||||
var JoinServerRequest = JoinServerRequestClass.static;
|
var JoinServerRequest = JoinServerRequestClass.static;
|
||||||
|
|
|
@ -52,6 +52,7 @@ public LauncherConfig(HInput input) throws IOException, InvalidKeySpecException
|
||||||
guardLicenseEncryptKey = config.guardLicenseEncryptKey;
|
guardLicenseEncryptKey = config.guardLicenseEncryptKey;
|
||||||
guardLicenseKey = config.guardLicenseKey;
|
guardLicenseKey = config.guardLicenseKey;
|
||||||
guardLicenseName = config.guardLicenseName;
|
guardLicenseName = config.guardLicenseName;
|
||||||
|
address = config.address;
|
||||||
LauncherEnvironment env;
|
LauncherEnvironment env;
|
||||||
if (config.env == 0) env = LauncherEnvironment.DEV;
|
if (config.env == 0) env = LauncherEnvironment.DEV;
|
||||||
else if (config.env == 1) env = LauncherEnvironment.DEBUG;
|
else if (config.env == 1) env = LauncherEnvironment.DEBUG;
|
||||||
|
|
Loading…
Reference in a new issue