diff --git a/Launcher/runtime/dialog/overlay/processing/processing.js b/Launcher/runtime/dialog/overlay/processing/processing.js index 9eb19fa5..dbbc0497 100644 --- a/Launcher/runtime/dialog/overlay/processing/processing.js +++ b/Launcher/runtime/dialog/overlay/processing/processing.js @@ -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() { diff --git a/Launcher/runtime/engine/api.js b/Launcher/runtime/engine/api.js index a1bb7b7a..b29fc735 100644 --- a/Launcher/runtime/engine/api.js +++ b/Launcher/runtime/engine/api.js @@ -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; diff --git a/libLauncher/src/main/java/ru/gravit/launcher/LauncherConfig.java b/libLauncher/src/main/java/ru/gravit/launcher/LauncherConfig.java index 4ffb54d8..dacfa5ea 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/LauncherConfig.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/LauncherConfig.java @@ -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;