Add android package rules support in tun routing
This commit is contained in:
@@ -4,6 +4,8 @@ import (
|
||||
"context"
|
||||
"net/netip"
|
||||
|
||||
"github.com/sagernet/sing-box/log"
|
||||
"github.com/sagernet/sing-tun"
|
||||
E "github.com/sagernet/sing/common/exceptions"
|
||||
)
|
||||
|
||||
@@ -13,6 +15,11 @@ type Searcher interface {
|
||||
|
||||
var ErrNotFound = E.New("process not found")
|
||||
|
||||
type Config struct {
|
||||
Logger log.ContextLogger
|
||||
PackageManager tun.PackageManager
|
||||
}
|
||||
|
||||
type Info struct {
|
||||
ProcessPath string
|
||||
PackageName string
|
||||
|
||||
Reference in New Issue
Block a user