From 4edb793f81a452b32a2ac40d1b6182fd11d8166f Mon Sep 17 00:00:00 2001 From: Zaxar163 Date: Sun, 18 Aug 2019 16:41:06 +0300 Subject: [PATCH] =?UTF-8?q?[ANY]=20=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20=D0=BC=D0=BE=D0=B4=D1=83=D0=BB=D0=B8.=20*?= =?UTF-8?q?=20=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BC=D0=BE=D0=B4=D1=83=D0=BB?= =?UTF-8?q?=D1=8F=20AddHash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/pro/gravit/launcher/gui/JSRuntimeProvider.java | 8 +------- modules | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Launcher/src/main/java/pro/gravit/launcher/gui/JSRuntimeProvider.java b/Launcher/src/main/java/pro/gravit/launcher/gui/JSRuntimeProvider.java index 17738305..ba45d238 100644 --- a/Launcher/src/main/java/pro/gravit/launcher/gui/JSRuntimeProvider.java +++ b/Launcher/src/main/java/pro/gravit/launcher/gui/JSRuntimeProvider.java @@ -62,7 +62,7 @@ public class JSRuntimeProvider implements RuntimeProvider { - private final ScriptEngine engine = CommonHelper.newScriptEngine(); + public final ScriptEngine engine = CommonHelper.newScriptEngine(); private boolean isPreLoaded = false; @LauncherAPI @@ -99,12 +99,6 @@ public static void addLauncherClassBindings(Map bindings) { bindings.put("BatchProfileByUsernameRequestClass", BatchProfileByUsernameRequest.class); bindings.put("GetAvailabilityAuthRequestClass", GetAvailabilityAuthRequest.class); - // Set hasher class bindings - bindings.put("FileNameMatcherClass", FileNameMatcher.class); - bindings.put("HashedDirClass", HashedDir.class); - bindings.put("HashedFileClass", HashedFile.class); - bindings.put("HashedEntryTypeClass", HashedEntry.Type.class); - // Set serialization class bindings bindings.put("HInputClass", HInput.class); bindings.put("HOutputClass", HOutput.class); diff --git a/modules b/modules index 87fe3184..c5986c83 160000 --- a/modules +++ b/modules @@ -1 +1 @@ -Subproject commit 87fe3184197497065962f3013b1c0f4d1fe0b5e3 +Subproject commit c5986c83c7d9a2c988a4846efc0ec99c4b8d0934