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 237
237
<system : String x : Key =" updateNoResultSubtitle" >All plugins are up to date</system : String >
238
238
<system : String x : Key =" updateAllPluginsTitle" >Update all plugins</system : String >
239
239
<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 >
240
241
241
242
<!-- Setting Theme -->
242
243
<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()
109
109
await PluginInstaller . InstallPluginAndCheckRestartAsync ( file ) ;
110
110
}
111
111
112
+ [ RelayCommand ]
113
+ private async Task CheckPluginUpdatesAsync ( )
114
+ {
115
+ await PluginInstaller . UpdatePluginAsync ( silentUpdate : false ) ;
116
+ }
117
+
112
118
private static string GetFileFromDialog ( string title , string filter = "" )
113
119
{
114
120
var dlg = new Microsoft . Win32 . OpenFileDialog
Original file line number Diff line number Diff line change 99
99
ToolTip =" {DynamicResource installLocalPluginTooltip}" >
100
100
<ui : FontIcon FontSize =" 14" Glyph ="  " />
101
101
</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 >
102
109
<TextBox
103
110
Name =" PluginStoreFilterTextbox"
104
111
Width =" 150"
You can’t perform that action at this time.
0 commit comments