Bring run command functionality back

#636
This commit is contained in:
bao-qian
2016-05-19 09:04:31 +01:00
parent 937ce34c36
commit f06c4f4049
5 changed files with 135 additions and 42 deletions

View File

@@ -2,10 +2,11 @@
namespace Wox.Plugin.CMD
{
public class CMDHistory
public class Settings
{
public Shell Shell { get; set; } = Shell.CMD;
public bool ReplaceWinR { get; set; } = true;
public bool LeaveCmdOpen { get; set; }
public bool LeaveShellOpen { get; set; }
public Dictionary<string, int> Count = new Dictionary<string, int>();
public void AddCmdHistory(string cmdName)
@@ -20,4 +21,12 @@ namespace Wox.Plugin.CMD
}
}
}
public enum Shell
{
CMD = 0,
Powershell = 1,
RunCommand = 2,
}
}