mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +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");
|
LogHelper.debug("Launching JavaFX application");
|
||||||
javafx.application.Application.launch(LauncherApp.class, args);
|
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();
|
Launcher.modulesManager.initModules();
|
||||||
// Load init.js script
|
// Load init.js script
|
||||||
loadScript(Launcher.API_SCRIPT_FILE);
|
loadScript(Launcher.API_SCRIPT_FILE);
|
||||||
loadScript(Launcher.INIT_SCRIPT_FILE);
|
|
||||||
loadScript(Launcher.CONFIG_SCRIPT_FILE);
|
loadScript(Launcher.CONFIG_SCRIPT_FILE);
|
||||||
loadScript("dialog/dialog.js");
|
loadScript(Launcher.INIT_SCRIPT_FILE);
|
||||||
LogHelper.info("Invoking start() function");
|
LogHelper.info("Invoking start() function");
|
||||||
Invocable invoker = (Invocable) engine;
|
Invocable invoker = (Invocable) engine;
|
||||||
if (Launcher.isUsingAvanguard()) {
|
if (Launcher.isUsingAvanguard()) {
|
||||||
|
|
Loading…
Reference in a new issue