@ -23,6 +23,7 @@ public class SplashFx implements SplashStrategy {
@Override
public void show() {
Platform.setImplicitExit(false);
SERVICE.execute(new Runnable() {
public void run() {
@ -34,7 +35,7 @@ public class SplashFx implements SplashStrategy {
public void hide() {
Platform.exit();
fxWindow.close();
}
@ -115,6 +115,19 @@ public class SplashFxWindow extends Application {
primaryStage.show();
public void close() {
Platform.runLater(new Runnable() {
try {
((Stage) moduleInfo.getScene().getWindow()).close();
} catch (Exception e) {
FRContext.getLogger().error(e.getMessage(), e);
});
/**
* 更新模块信息
*