mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-03 20:07:40 +03:00
Add android package route support
This commit is contained in:
parent
b828f01643
commit
1407eae46b
7 changed files with 276 additions and 36 deletions
9
packages_stub.go
Normal file
9
packages_stub.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
//go:build !android
|
||||
|
||||
package tun
|
||||
|
||||
import "os"
|
||||
|
||||
func NewPackageManager(callback PackageManagerCallback) (PackageManager, error) {
|
||||
return nil, os.ErrInvalid
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue