cut: edit process mode endwith ".exe" check

This commit is contained in:
ChsBuffer
2020-10-10 00:05:31 +08:00
parent 36718e774c
commit e3e595d469

View File

@@ -142,10 +142,6 @@ namespace Netch.Forms.Mode
if (!string.IsNullOrWhiteSpace(ProcessNameTextBox.Text))
{
var process = ProcessNameTextBox.Text;
if (!process.EndsWith(".exe"))
{
process += ".exe";
}
if (!RuleListBox.Items.Contains(process))
{