mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57: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 = new Views.Launcher();
|
||||||
MainWindow.Show();
|
|
||||||
|
|
||||||
// 如果启动命令中指定了路径,打开指定目录的仓库
|
// 如果启动命令中指定了路径,打开指定目录的仓库
|
||||||
if (e.Args.Length > 0) {
|
if (e.Args.Length > 0) {
|
||||||
|
@ -99,6 +98,8 @@ namespace SourceGit {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MainWindow.Show();
|
||||||
|
|
||||||
// 检测更新
|
// 检测更新
|
||||||
if (Models.Preference.Instance.General.CheckForUpdate) {
|
if (Models.Preference.Instance.General.CheckForUpdate) {
|
||||||
var curDayOfYear = DateTime.Now.DayOfYear;
|
var curDayOfYear = DateTime.Now.DayOfYear;
|
||||||
|
|
Loading…
Reference in a new issue