Skip to content

Commit f3ce4a1

Browse files
feat: remove the unique validation of executeable file paths
1 parent d55d2bc commit f3ce4a1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ProcessGuard/MainWindowViewModel.cs

-5
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,6 @@ public string this[string columnName]
203203
return "文件路径不正确,请检查!";
204204
}
205205

206-
if (ConfigItems.Select(item => item.EXEFullPath).Contains(SelectedFile))
207-
{
208-
return "该配置项已存在,请删除后重新添加";
209-
}
210-
211206
break;
212207

213208
case nameof(SeletedProcessName):

0 commit comments

Comments
 (0)