try fix vpn
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user