diff --git a/src/PackageManager.UI/App.xaml.cs b/src/PackageManager.UI/App.xaml.cs index 0e7b227..4234bef 100644 --- a/src/PackageManager.UI/App.xaml.cs +++ b/src/PackageManager.UI/App.xaml.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.IO; using System.Linq; -using System.Threading.Tasks; using System.Windows; using System.Windows.Threading; using Neptuo.Activators; @@ -105,7 +104,14 @@ protected override void OnStartup(StartupEventArgs e) wnd.Show(); if (Args.IsSelfUpdate) + { RunSelfUpdate(wnd); + } + else + { + wnd.ViewModel.Browser.Search + .Execute(); + } } private void BuildExceptionHandler()