From 2590ee7533ac8875b9de1acaf66ae7f7276e8f85 Mon Sep 17 00:00:00 2001 From: Gravit Date: Thu, 4 Apr 2019 19:22:06 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=A4=D0=B8=D0=BA=D1=81=20runtime=20?= =?UTF-8?q?=D1=87=D0=B0=D1=81=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Launcher/runtime/dialog/overlay/processing/processing.js | 2 +- Launcher/runtime/engine/api.js | 1 - .../src/main/java/ru/gravit/launcher/LauncherConfig.java | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) 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;