mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
feat: add PROCESS-NAME-REGEX and PROCESS-PATH-REGEX
This commit is contained in:
@@ -22,8 +22,10 @@ const (
|
||||
InUser
|
||||
InName
|
||||
InType
|
||||
Process
|
||||
ProcessName
|
||||
ProcessPath
|
||||
ProcessNameRegex
|
||||
ProcessPathRegex
|
||||
RuleSet
|
||||
Network
|
||||
Uid
|
||||
@@ -76,10 +78,14 @@ func (rt RuleType) String() string {
|
||||
return "InName"
|
||||
case InType:
|
||||
return "InType"
|
||||
case Process:
|
||||
return "Process"
|
||||
case ProcessName:
|
||||
return "ProcessName"
|
||||
case ProcessPath:
|
||||
return "ProcessPath"
|
||||
case ProcessNameRegex:
|
||||
return "ProcessNameRegex"
|
||||
case ProcessPathRegex:
|
||||
return "ProcessPathRegex"
|
||||
case MATCH:
|
||||
return "Match"
|
||||
case RuleSet:
|
||||
|
||||
Reference in New Issue
Block a user