|
|
@ -495,12 +495,15 @@ public class DesignerActivator extends Activator implements Prepare { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void prepare() { |
|
|
|
public void prepare() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OptimizeUtil.close(() -> { |
|
|
|
|
|
|
|
LoginAuthServer.getInstance().compatibleStart(); |
|
|
|
|
|
|
|
}); |
|
|
|
ContentReplacerCenter.getInstance().register(); |
|
|
|
ContentReplacerCenter.getInstance().register(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void startLoginAuthServer() { |
|
|
|
private void startLoginAuthServer() { |
|
|
|
|
|
|
|
|
|
|
|
OptimizeUtil.execute(() -> { |
|
|
|
OptimizeUtil.open(() -> { |
|
|
|
// 设计器启动后启动
|
|
|
|
// 设计器启动后启动
|
|
|
|
EventDispatcher.listen(DesignerLaunchStatus.STARTUP_COMPLETE, new Listener<Null>() { |
|
|
|
EventDispatcher.listen(DesignerLaunchStatus.STARTUP_COMPLETE, new Listener<Null>() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -508,8 +511,6 @@ public class DesignerActivator extends Activator implements Prepare { |
|
|
|
LoginAuthServer.getInstance().start(); |
|
|
|
LoginAuthServer.getInstance().start(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, () -> { |
|
|
|
|
|
|
|
LoginAuthServer.getInstance().compatibleStart(); |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|