File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 237237 <system : String x : Key =" updateNoResultSubtitle" >All plugins are up to date</system : String >
238238 <system : String x : Key =" updateAllPluginsTitle" >Update all plugins</system : String >
239239 <system : String x : Key =" updateAllPluginsSubtitle" >Would you like to update these plugins?{0}{0}{1}</system : String >
240+ <system : String x : Key =" checkPluginUpdatesTooltip" >Check plugin updates</system : String >
240241
241242 <!-- Setting Theme -->
242243 <system : String x : Key =" theme" >Theme</system : String >
Original file line number Diff line number Diff line change @@ -109,6 +109,12 @@ private async Task InstallPluginAsync()
109109 await PluginInstaller . InstallPluginAndCheckRestartAsync ( file ) ;
110110 }
111111
112+ [ RelayCommand ]
113+ private async Task CheckPluginUpdatesAsync ( )
114+ {
115+ await PluginInstaller . UpdatePluginAsync ( silentUpdate : false ) ;
116+ }
117+
112118 private static string GetFileFromDialog ( string title , string filter = "" )
113119 {
114120 var dlg = new Microsoft . Win32 . OpenFileDialog
Original file line number Diff line number Diff line change 9999 ToolTip =" {DynamicResource installLocalPluginTooltip}" >
100100 <ui : FontIcon FontSize =" 14" Glyph ="  " />
101101 </Button >
102+ <Button
103+ Height =" 34"
104+ Margin =" 0 0 10 0"
105+ Command =" {Binding CheckPluginUpdatesCommand}"
106+ ToolTip =" {DynamicResource checkPluginUpdatesTooltip}" >
107+ <ui : FontIcon FontSize =" 14" Glyph ="  " />
108+ </Button >
102109 <TextBox
103110 Name =" PluginStoreFilterTextbox"
104111 Width =" 150"
You can’t perform that action at this time.
0 commit comments