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