diff --git a/Launcher/runtime/config.js b/Launcher/runtime/config.js index a7a8f56..0bfe117 100644 --- a/Launcher/runtime/config.js +++ b/Launcher/runtime/config.js @@ -1,32 +1,32 @@ // ====== LAUNCHER CONFIG ====== // var config = { - dir: "launcher", // Launcher directory - title: "sashok724's Launcher", // Window title - icons: [ "favicon.png" ], // Window icon paths + dir: "launcher", // Launcher directory + title: "sashok724's Launcher", // Window title + icons: [ "favicon.png" ], // Window icon paths - // Auth config - newsURL: "https://launcher.sashok724.net/", // News WebView URL - linkText: "Бесплатные окна", // Text for link under "Auth" button - linkURL: new java.net.URL("http://bit.ly/1SP0Rl8"), // URL for link under "Auth" button + // Auth config + newsURL: "https://launcher.sashok724.net/", // News WebView URL + linkText: "Бесплатные окна", // Text for link under "Auth" button + linkURL: new java.net.URL("http://bit.ly/1SP0Rl8"), // URL for link under "Auth" button - // Settings defaults - settingsMagic: 0xC0DE5, // Ancient magic, don't touch - autoEnterDefault: false, // Should autoEnter be enabled by default? - fullScreenDefault: false, // Should fullScreen be enabled by default? - ramDefault: 1024, // Default RAM amount (0 for auto) + // Settings defaults + settingsMagic: 0xC0DE5, // Ancient magic, don't touch + autoEnterDefault: false, // Should autoEnter be enabled by default? + fullScreenDefault: false, // Should fullScreen be enabled by default? + ramDefault: 1024, // Default RAM amount (0 for auto) - // Custom JRE config (!!! DON'T CHANGE !!!) - jvmMustdie32Dir: "jre-8u92-win32", jvmMustdie64Dir: "jre-8u92-win64", - jvmLinux32Dir: "jre-8u92-linux32", jvmLinux64Dir: "jre-8u92-linux64", - jvmMacOSXDir: "jre-8u92-macosx", jvmUnknownDir: "jre-8u92-unknown" + // Custom JRE config (!!! DON'T CHANGE !!!) + jvmMustdie32Dir: "jre-8u131-win32", jvmMustdie64Dir: "jre-8u131-win64", + jvmLinux32Dir: "jre-8u131-linux32", jvmLinux64Dir: "jre-8u131-linux64", + jvmMacOSXDir: "jre-8u131-macosx", jvmUnknownDir: "jre-8u131-unknown" }; // ====== DON'T TOUCH! ====== // var dir = IOHelper.HOME_DIR.resolve(config.dir); if (!IOHelper.isDir(dir)) { - java.nio.file.Files.createDirectory(dir); + java.nio.file.Files.createDirectory(dir); } var defaultUpdatesDir = dir.resolve("updates"); if (!IOHelper.isDir(defaultUpdatesDir)) { - java.nio.file.Files.createDirectory(defaultUpdatesDir); + java.nio.file.Files.createDirectory(defaultUpdatesDir); } diff --git a/Launcher/runtime/dialog/dialog.css b/Launcher/runtime/dialog/dialog.css index 70b2a07..754b02a 100644 --- a/Launcher/runtime/dialog/dialog.css +++ b/Launcher/runtime/dialog/dialog.css @@ -2,40 +2,40 @@ /* Header styles */ #layout { - -fx-background-color: white; + -fx-background-color: white; } /* Auth pane styles */ #layout > #authPane > #password.hasSaved { - -fx-prompt-text-fill: black; + -fx-prompt-text-fill: black; } #layout > #authPane > #profiles > .arrow-button { - -fx-padding: 0; + -fx-padding: 0; } #layout > #authPane > #profiles > .arrow-button > .arrow { - -fx-padding: 0; - -fx-shape: none; + -fx-padding: 0; + -fx-shape: none; } #layout > #authPane > #profiles > .list-cell { - -fx-padding: 5px 5px 5px 8px; + -fx-padding: 5px 5px 5px 8px; } #layout > #authPane > #goSettings { - -fx-padding: 0; - -fx-graphic: url(settings.png); + -fx-padding: 0; + -fx-graphic: url(settings.png); } /* Overlay styles */ #layout > #dim { - -fx-opacity: 0.0; - -fx-background-color: rgba(0, 0, 0, 0.5); + -fx-opacity: 0.0; + -fx-background-color: rgba(0, 0, 0, 0.5); } #layout > #dim > #overlay { - -fx-opacity: 0.0; - -fx-background-color: white; - -fx-background-radius: 5px; + -fx-opacity: 0.0; + -fx-background-color: white; + -fx-background-radius: 5px; } diff --git a/Launcher/runtime/dialog/dialog.fxml b/Launcher/runtime/dialog/dialog.fxml index 91fd239..7455575 100644 --- a/Launcher/runtime/dialog/dialog.fxml +++ b/Launcher/runtime/dialog/dialog.fxml @@ -11,27 +11,27 @@ - - - + + + - - + + - - - - - -