mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 03:37:10 +08:00
add startup boundary to log
This commit is contained in:
parent
4a375b6563
commit
1432866798
@ -39,6 +39,7 @@ namespace Wox
|
||||
{
|
||||
Stopwatch.Normal("Startup Time", () =>
|
||||
{
|
||||
Log.Info("-------------------------- Begin Wox startup --------------------------");
|
||||
RegisterDispatcherUnhandledException();
|
||||
|
||||
var settingVM = new SettingWindowViewModel();
|
||||
@ -61,6 +62,7 @@ namespace Wox
|
||||
AutoUpdates();
|
||||
|
||||
mainVM.MainWindowVisibility = _settings.HideOnStartup ? Visibility.Hidden : Visibility.Visible;
|
||||
Log.Info("-------------------------- End Wox startup --------------------------");
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user