@@ -75,34 +75,34 @@ internal List<Result> GetDefaultHotKeys()
75
75
{
76
76
new Result ( )
77
77
{
78
- Title = Settings . HotKeyInstall ,
78
+ Title = Settings . InstallCommand ,
79
79
IcoPath = icoPath ,
80
- AutoCompleteText = $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . HotKeyInstall } ",
80
+ AutoCompleteText = $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . InstallCommand } ",
81
81
Action = _ =>
82
82
{
83
- Context . API . ChangeQuery ( $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . HotKeyInstall } ") ;
83
+ Context . API . ChangeQuery ( $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . InstallCommand } ") ;
84
84
return false ;
85
85
}
86
86
} ,
87
87
new Result ( )
88
88
{
89
- Title = Settings . HotkeyUninstall ,
89
+ Title = Settings . UninstallCommand ,
90
90
IcoPath = icoPath ,
91
- AutoCompleteText = $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . HotkeyUninstall } ",
91
+ AutoCompleteText = $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . UninstallCommand } ",
92
92
Action = _ =>
93
93
{
94
- Context . API . ChangeQuery ( $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . HotkeyUninstall } ") ;
94
+ Context . API . ChangeQuery ( $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . UninstallCommand } ") ;
95
95
return false ;
96
96
}
97
97
} ,
98
98
new Result ( )
99
99
{
100
- Title = Settings . HotkeyUpdate ,
100
+ Title = Settings . UpdateCommand ,
101
101
IcoPath = icoPath ,
102
- AutoCompleteText = $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . HotkeyUpdate } ",
102
+ AutoCompleteText = $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . UpdateCommand } ",
103
103
Action = _ =>
104
104
{
105
- Context . API . ChangeQuery ( $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . HotkeyUpdate } ") ;
105
+ Context . API . ChangeQuery ( $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . UpdateCommand } ") ;
106
106
return false ;
107
107
}
108
108
}
@@ -122,7 +122,7 @@ internal async Task InstallOrUpdate(UserPlugin plugin)
122
122
Context
123
123
. API
124
124
. ChangeQuery (
125
- $ "{ Context . CurrentPluginMetadata . ActionKeywords . FirstOrDefault ( ) } { Settings . HotkeyUpdate } { plugin . Name } ") ;
125
+ $ "{ Context . CurrentPluginMetadata . ActionKeywords . FirstOrDefault ( ) } { Settings . UpdateCommand } { plugin . Name } ") ;
126
126
127
127
var mainWindow = Application . Current . MainWindow ;
128
128
mainWindow . Show ( ) ;
0 commit comments