From a4997249cb94bcbb0ed7331a8cf0cd998493b2e5 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 6 Jul 2021 13:04:19 +0800 Subject: [PATCH] optimize: show launcher after all pre-opened pages ready --- src/App.xaml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.xaml.cs b/src/App.xaml.cs index cb15c548..823fb421 100644 --- a/src/App.xaml.cs +++ b/src/App.xaml.cs @@ -71,7 +71,6 @@ namespace SourceGit { // 主界面显示 MainWindow = new Views.Launcher(); - MainWindow.Show(); // 如果启动命令中指定了路径,打开指定目录的仓库 if (e.Args.Length > 0) { @@ -99,6 +98,8 @@ namespace SourceGit { } } + MainWindow.Show(); + // 检测更新 if (Models.Preference.Instance.General.CheckForUpdate) { var curDayOfYear = DateTime.Now.DayOfYear;