File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Plugins/Flow.Launcher.Plugin.PluginsManager Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -77,29 +77,32 @@ internal List<Result> GetDefaultHotKeys()
77
77
{
78
78
Title = Settings . HotKeyInstall ,
79
79
IcoPath = icoPath ,
80
+ AutoCompleteText = $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . HotKeyInstall } ",
80
81
Action = _ =>
81
82
{
82
- Context . API . ChangeQuery ( "pm install ") ;
83
+ Context . API . ChangeQuery ( $ " { Context . CurrentPluginMetadata . ActionKeyword } { Settings . HotKeyInstall } ") ;
83
84
return false ;
84
85
}
85
86
} ,
86
87
new Result ( )
87
88
{
88
89
Title = Settings . HotkeyUninstall ,
89
90
IcoPath = icoPath ,
91
+ AutoCompleteText = $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . HotkeyUninstall } ",
90
92
Action = _ =>
91
93
{
92
- Context . API . ChangeQuery ( "pm uninstall ") ;
94
+ Context . API . ChangeQuery ( $ " { Context . CurrentPluginMetadata . ActionKeyword } { Settings . HotkeyUninstall } ") ;
93
95
return false ;
94
96
}
95
97
} ,
96
98
new Result ( )
97
99
{
98
100
Title = Settings . HotkeyUpdate ,
99
101
IcoPath = icoPath ,
102
+ AutoCompleteText = $ "{ Context . CurrentPluginMetadata . ActionKeyword } { Settings . HotkeyUpdate } ",
100
103
Action = _ =>
101
104
{
102
- Context . API . ChangeQuery ( "pm update ") ;
105
+ Context . API . ChangeQuery ( $ " { Context . CurrentPluginMetadata . ActionKeyword } { Settings . HotkeyUpdate } ") ;
103
106
return false ;
104
107
}
105
108
}
You can’t perform that action at this time.
0 commit comments