mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
optimize<Launcher>: show launcher after all pre-opened pages ready
This commit is contained in:
parent
f6c17e7d34
commit
a4997249cb
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue