try fix vpn

This commit is contained in:
hiddify-com
2024-08-05 16:00:20 +02:00
parent 607f1297f8
commit 62c6d07aa2
2 changed files with 9 additions and 9 deletions

View File

@@ -60,9 +60,9 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
# - platform: android-apk - platform: android-apk
# os: ubuntu-latest os: ubuntu-latest
# targets: apk targets: apk
# - platform: android-aab # - platform: android-aab
# os: ubuntu-latest # os: ubuntu-latest
@@ -78,10 +78,10 @@ jobs:
# aarch: amd64 # aarch: amd64
# targets: AppImage,deb,rpm # targets: AppImage,deb,rpm
- platform: macos # - platform: macos
os: macos-13 # os: macos-13
aarch: universal # aarch: universal
targets: dmg,pkg # targets: dmg,pkg
# - platform: ios # - platform: ios
# os: macos-14 # os: macos-14

View File

@@ -142,7 +142,7 @@ class VPNService : VpnService(), PlatformInterfaceWrapper {
} }
} }
try { try {
builder.addDisallowedApplication(packageName) //builder.addDisallowedApplication(packageName)
} catch (_: NameNotFoundException) { } catch (_: NameNotFoundException) {
} }
} }
@@ -166,7 +166,7 @@ class VPNService : VpnService(), PlatformInterfaceWrapper {
} }
} }
try { try {
builder.addDisallowedApplication(packageName) //builder.addDisallowedApplication(packageName)
} catch (_: NameNotFoundException) { } catch (_: NameNotFoundException) {
} }
} }