[FIX][RUNTIME] Исправлено перемещение мышки после смены оверлея. (#140)

* [UPD] Submodule `modules` updated.

* [FIX] Profiles property: "info" + [FIX] Recenter mouse on stage. + [FIX] Auto-generating config generation (param: "isWarningMissArchJava").

* [FIXED] Access rules in ServerWrapper agent.

* [FIX] Фикс ошибки мержа с master.

* [FIX] AuthProvider в дефолтном конфиге.
This commit is contained in:
Zaxar163 2019-01-13 18:51:39 +03:00 committed by Gravit
parent 9bfdcbc622
commit 3dd775807e
5 changed files with 8 additions and 6 deletions

View file

@ -593,6 +593,8 @@ private void generateConfigIfNotExists() throws IOException {
newConfig.enabledProGuard = true;
newConfig.stripLineNumbers = true;
newConfig.deleteTempFiles = true;
newConfig.isWarningMissArchJava = true;
// Set server address
LogHelper.println("LaunchServer address: ");
newConfig.setAddress(commandHandler.readLine());

View file

@ -51,11 +51,12 @@
"authRateLimitMilis": 0,
"authRejectString": "Превышен лимит авторизаций",
"whitelistRejectString": "Вас нет в белом списке",
"genMappings": false,
"genMappings": true,
"isUsingWrapper": false,
"isDownloadJava": false,
"isWarningMissArchJava": false,
"isWarningMissArchJava": true,
"enabledProGuard": true,
"stripLineNumbers": true,
"deleteTempFiles": true,
"startScript": ".\\start.sh"
}

View file

@ -52,7 +52,6 @@ function setCurrentScene(scene) {
rootPane = scene.getRoot();
dimPane = rootPane.lookup("#mask");
stage.sizeToScene();
stage.centerOnScreen();
stage.show();
}

View file

@ -15,9 +15,9 @@
public class ServerAgent {
private static boolean isAgentStarted = false;
public static Instrumentation inst;
public static Instrumentation inst = null;
public static final class StarterVisitor extends SimpleFileVisitor<Path> {
private static final class StarterVisitor extends SimpleFileVisitor<Path> {
@Override
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
if (file.toFile().getName().endsWith(".jar")) addJVMClassPath(new JarFile(file.toFile()));

@ -1 +1 @@
Subproject commit ee2f9e6646a8f1972ceda68d56e88e71ab74f78f
Subproject commit b582cd6405d45d4478e62ca11045a34378c96d9d