Fix incorrect VPN status in some cases (#661)

Regression following #636
This commit is contained in:
Davide 2024-10-02 13:40:44 +02:00 committed by GitHub
parent 3fbf803518
commit 3ab80cd076
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -32,7 +32,7 @@
"kind" : "remoteSourceControl",
"location" : "git@github.com:passepartoutvpn/passepartoutkit",
"state" : {
"revision" : "75ee78bff3bd522f3297bc700ae255128c0a087a"
"revision" : "2e61214462dcf6ad9e211d8fdbd611c6755845c4"
}
},
{

View File

@ -38,7 +38,7 @@ let package = Package(
],
dependencies: [
// .package(url: "git@github.com:passepartoutvpn/passepartoutkit", from: "0.7.0"),
.package(url: "git@github.com:passepartoutvpn/passepartoutkit", revision: "75ee78bff3bd522f3297bc700ae255128c0a087a"),
.package(url: "git@github.com:passepartoutvpn/passepartoutkit", revision: "2e61214462dcf6ad9e211d8fdbd611c6755845c4"),
// .package(path: "../../../passepartoutkit"),
.package(url: "git@github.com:passepartoutvpn/passepartoutkit-openvpn-openssl", from: "0.6.0"),
// .package(path: "../../../passepartoutkit-openvpn-openssl"),

View File

@ -71,7 +71,8 @@ extension Tunnel {
static let shared = Tunnel(
strategy: NETunnelStrategy(
bundleIdentifier: BundleConfiguration.mainString(for: .tunnelId),
encoder: .shared
encoder: .shared,
environment: .shared
)
)
}