Add ProtectCoreTypeList (#9756)

* Add ProtectCoreTypeList

* Add process path restrictions
This commit is contained in:
DHR60
2026-07-15 09:32:07 +00:00
committed by GitHub
parent 8f5cbad988
commit 74ab7ad097
4 changed files with 50 additions and 31 deletions
@@ -17,6 +17,8 @@ public record CoreConfigContext
// TUN Compatibility
public bool IsTunEnabled { get; init; } = false;
public HashSet<string> ProtectDomainList { get; init; } = [];
// Typically, it is the core of the outbound chain
public HashSet<ECoreType> ProtectCoreTypeList { get; init; } = [];
public bool IsWindows { get; init; }
public bool IsMacOS { get; init; }