mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
parent
4edb793f81
commit
6788165332
2 changed files with 8 additions and 2 deletions
|
@ -62,7 +62,7 @@
|
||||||
|
|
||||||
public class JSRuntimeProvider implements RuntimeProvider {
|
public class JSRuntimeProvider implements RuntimeProvider {
|
||||||
|
|
||||||
public final ScriptEngine engine = CommonHelper.newScriptEngine();
|
private final ScriptEngine engine = CommonHelper.newScriptEngine();
|
||||||
private boolean isPreLoaded = false;
|
private boolean isPreLoaded = false;
|
||||||
|
|
||||||
@LauncherAPI
|
@LauncherAPI
|
||||||
|
@ -99,6 +99,12 @@ public static void addLauncherClassBindings(Map<String, Object> bindings) {
|
||||||
bindings.put("BatchProfileByUsernameRequestClass", BatchProfileByUsernameRequest.class);
|
bindings.put("BatchProfileByUsernameRequestClass", BatchProfileByUsernameRequest.class);
|
||||||
bindings.put("GetAvailabilityAuthRequestClass", GetAvailabilityAuthRequest.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
|
// Set serialization class bindings
|
||||||
bindings.put("HInputClass", HInput.class);
|
bindings.put("HInputClass", HInput.class);
|
||||||
bindings.put("HOutputClass", HOutput.class);
|
bindings.put("HOutputClass", HOutput.class);
|
||||||
|
|
2
modules
2
modules
|
@ -1 +1 @@
|
||||||
Subproject commit c5986c83c7d9a2c988a4846efc0ec99c4b8d0934
|
Subproject commit 87fe3184197497065962f3013b1c0f4d1fe0b5e3
|
Loading…
Reference in a new issue