Skip to content

Commit 62e017a

Browse files
authored
Merge pull request #46 from ivangrek/fix-32
Add the ability to search packages automatically on start
2 parents 274c1e3 + 30cb11f commit 62e017a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/PackageManager.UI/App.xaml.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Generic;
33
using System.IO;
44
using System.Linq;
5-
using System.Threading.Tasks;
65
using System.Windows;
76
using System.Windows.Threading;
87
using Neptuo.Activators;
@@ -105,7 +104,14 @@ protected override void OnStartup(StartupEventArgs e)
105104
wnd.Show();
106105

107106
if (Args.IsSelfUpdate)
107+
{
108108
RunSelfUpdate(wnd);
109+
}
110+
else
111+
{
112+
wnd.ViewModel.Browser.Search
113+
.Execute();
114+
}
109115
}
110116

111117
private void BuildExceptionHandler()

0 commit comments

Comments
 (0)