mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Update readme file
This commit is contained in:
@@ -33,7 +33,7 @@ To install OpenVPNAdapter with Cocoapods, add the following lines to your `Podfi
|
|||||||
```ruby
|
```ruby
|
||||||
target 'Your Target Name' do
|
target 'Your Target Name' do
|
||||||
use_frameworks!
|
use_frameworks!
|
||||||
pod 'OpenVPNAdapter', :git => 'https://github.com/ss-abramchuk/OpenVPNAdapter.git', :tag => '0.3.0'
|
pod 'OpenVPNAdapter', :git => 'https://github.com/ss-abramchuk/OpenVPNAdapter.git', :tag => '0.4.0'
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -177,6 +177,9 @@ class PacketTunnelProvider: NEPacketTunnelProvider {
|
|||||||
// Additional parameters as key:value pairs may be provided here
|
// Additional parameters as key:value pairs may be provided here
|
||||||
]
|
]
|
||||||
|
|
||||||
|
// Add this line if you want to keep TUN interface active during pauses or reconnections
|
||||||
|
configuration.tunPersist = true
|
||||||
|
|
||||||
// Apply OpenVPN configuration
|
// Apply OpenVPN configuration
|
||||||
let properties: OpenVPNProperties
|
let properties: OpenVPNProperties
|
||||||
do {
|
do {
|
||||||
|
|||||||
Reference in New Issue
Block a user