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