|
|
@ -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() { |
|
|
|