mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
Add modifier key support when user action items.
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Wox.Plugin.System
|
||||
Title = m.Key,
|
||||
SubTitle = "this command has been executed " + m.Value + " times",
|
||||
IcoPath = "Images/cmd.png",
|
||||
Action = () =>
|
||||
Action = (c) =>
|
||||
{
|
||||
ExecuteCmd(m.Key);
|
||||
AddCmdHistory(m.Key);
|
||||
@@ -45,7 +45,7 @@ namespace Wox.Plugin.System
|
||||
Score = 5000,
|
||||
SubTitle = "execute command through command shell",
|
||||
IcoPath = "Images/cmd.png",
|
||||
Action = () =>
|
||||
Action = (c) =>
|
||||
{
|
||||
ExecuteCmd(cmd);
|
||||
AddCmdHistory(cmd);
|
||||
@@ -60,7 +60,7 @@ namespace Wox.Plugin.System
|
||||
Title = m.Key,
|
||||
SubTitle = "this command has been executed " + m.Value + " times",
|
||||
IcoPath = "Images/cmd.png",
|
||||
Action = () =>
|
||||
Action = (c) =>
|
||||
{
|
||||
ExecuteCmd(m.Key);
|
||||
AddCmdHistory(m.Key);
|
||||
|
||||
Reference in New Issue
Block a user