mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
dialog.js подгружается init.js
This commit is contained in:
parent
4ac26bf3d8
commit
ad8ce5e74e
2 changed files with 3 additions and 2 deletions
|
@ -57,3 +57,5 @@ function start(args) {
|
|||
LogHelper.debug("Launching JavaFX application");
|
||||
javafx.application.Application.launch(LauncherApp.class, args);
|
||||
}
|
||||
|
||||
launcher.loadScript("dialog/dialog.js");
|
|
@ -203,9 +203,8 @@ public void start(String... args) throws Throwable {
|
|||
Launcher.modulesManager.initModules();
|
||||
// Load init.js script
|
||||
loadScript(Launcher.API_SCRIPT_FILE);
|
||||
loadScript(Launcher.INIT_SCRIPT_FILE);
|
||||
loadScript(Launcher.CONFIG_SCRIPT_FILE);
|
||||
loadScript("dialog/dialog.js");
|
||||
loadScript(Launcher.INIT_SCRIPT_FILE);
|
||||
LogHelper.info("Invoking start() function");
|
||||
Invocable invoker = (Invocable) engine;
|
||||
if (Launcher.isUsingAvanguard()) {
|
||||
|
|
Loading…
Reference in a new issue