更新最新的Leaf 动态库
更新最新的Leaf 动态库
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
|
||||
import Foundation
|
||||
import NetworkExtension
|
||||
import LeafFFI
|
||||
//import LeafFFI
|
||||
import leaf
|
||||
|
||||
public enum LeafAdapterError: Error {
|
||||
/// Failure to locate tunnel file descriptor.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import NetworkExtension
|
||||
import LeafFFI
|
||||
|
||||
//import LeafFFI
|
||||
import leaf
|
||||
class PacketTunnelProvider: NEPacketTunnelProvider {
|
||||
|
||||
private lazy var adapter: LeafAdapater = {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import Foundation
|
||||
import NetworkExtension
|
||||
import LeafFFI
|
||||
//import LeafFFI
|
||||
import leaf
|
||||
|
||||
extension NEVPNStatus: CustomStringConvertible {
|
||||
public var description: String {
|
||||
|
||||
@@ -4,6 +4,8 @@ logoutput = {{leafLogFile}}
|
||||
dns-server = 223.5.5.5, 114.114.114.114
|
||||
tun-fd = {{tunFd}}
|
||||
routing-domain-resolve = true
|
||||
socks-interface = 127.0.0.1
|
||||
socks-port = 1080
|
||||
|
||||
[Proxy]
|
||||
Direct = direct
|
||||
|
||||
Reference in New Issue
Block a user