mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-18 22:49:10 +00:00
Strip VPNManager initialization
This commit is contained in:
parent
1fd4fd4689
commit
b873e5e279
@ -104,23 +104,19 @@ class AppContext {
|
||||
)
|
||||
|
||||
#if targetEnvironment(simulator)
|
||||
vpnManager = VPNManager(
|
||||
appManager: appManager,
|
||||
profileManager: profileManager,
|
||||
providerManager: providerManager,
|
||||
strategy: VPNManager.MockStrategy()
|
||||
)
|
||||
let strategy = VPNManager.MockStrategy()
|
||||
#else
|
||||
vpnManager = VPNManager(
|
||||
appManager: appManager,
|
||||
profileManager: profileManager,
|
||||
providerManager: providerManager,
|
||||
strategy: VPNManager.TunnelKitStrategy(
|
||||
appGroup: Constants.App.appGroupId,
|
||||
tunnelBundleIdentifier: Constants.App.tunnelBundleId
|
||||
)
|
||||
let strategy = VPNManager.TunnelKitStrategy(
|
||||
appGroup: Constants.App.appGroupId,
|
||||
tunnelBundleIdentifier: Constants.App.tunnelBundleId
|
||||
)
|
||||
#endif
|
||||
vpnManager = VPNManager(
|
||||
appManager: appManager,
|
||||
profileManager: profileManager,
|
||||
providerManager: providerManager,
|
||||
strategy: strategy
|
||||
)
|
||||
|
||||
// app
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user