Browse Source

Pull request #9505: REPORT-75786 11.0feature版本设计器无法启动

Merge in DESIGN/design from ~HADES/design:feature/x to feature/x

* commit '82a8701eb50dcfb8b674da8263bca3ba8d924d4a':
  REPORT-75786 11.0feature版本设计器无法启动
feature/x
Hades 2 years ago
parent
commit
327a22ab28
  1. 9
      designer-realize/src/main/java/com/fr/start/MainDesigner.java

9
designer-realize/src/main/java/com/fr/start/MainDesigner.java

@ -119,9 +119,8 @@ public class MainDesigner extends BaseDesigner {
* @param args 参数 * @param args 参数
*/ */
public static void main(String[] args) { public static void main(String[] args) {
DesignerStartupContext.getRecorder().start(); DesignerStartupContext.getRecorder().start();
showSplash();
startPreload0(); startPreload0();
DeepLinkManager.getInstance().start(args); DeepLinkManager.getInstance().start(args);
@ -192,12 +191,6 @@ public class MainDesigner extends BaseDesigner {
}; };
PreLoadService.getInstance().addRunnable(fontLoad); PreLoadService.getInstance().addRunnable(fontLoad);
CompletableFuture<Void> splashFuture = CompletableFuture.runAsync(() -> {
DesignerEnvManager.getEnvManager(false);
})
.thenRun(MainDesigner::showSplash);
PreLoadService.getInstance().addFuture(splashFuture);
} }
private static void showSplash() { private static void showSplash() {

Loading…
Cancel
Save