mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix issue#26 "not count execute error command in history will be better"
This commit is contained in:
parent
674d6389b7
commit
62475f9bcf
1 changed files with 1 additions and 3 deletions
|
|
@ -29,7 +29,6 @@ namespace Wox.Plugin.System
|
|||
Action = (c) =>
|
||||
{
|
||||
ExecuteCmd(m.Key);
|
||||
AddCmdHistory(m.Key);
|
||||
return true;
|
||||
}
|
||||
}).Take(5);
|
||||
|
|
@ -49,7 +48,6 @@ namespace Wox.Plugin.System
|
|||
Action = (c) =>
|
||||
{
|
||||
ExecuteCmd(cmd);
|
||||
AddCmdHistory(cmd);
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
|
@ -65,7 +63,6 @@ namespace Wox.Plugin.System
|
|||
Action = (c) =>
|
||||
{
|
||||
ExecuteCmd(m.Key);
|
||||
AddCmdHistory(m.Key);
|
||||
return true;
|
||||
}
|
||||
}).Take(4);
|
||||
|
|
@ -81,6 +78,7 @@ namespace Wox.Plugin.System
|
|||
try
|
||||
{
|
||||
WindowsShellRun.Start(cmd);
|
||||
AddCmdHistory(cmd);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue