Compare commits

..

4 Commits

Author SHA1 Message Date
2dust
0e041a6e9a up 1.10.11 2025-07-26 20:21:01 +08:00
2dust
c78ef380cc up 1.10.10 2025-07-24 19:34:31 +08:00
2dust
57362a4bde Update AndroidLibXrayLite 2025-07-24 19:28:19 +08:00
DHR60
7f24ad534f Fix Intelligent Selection not working (#4767) 2025-07-24 19:22:15 +08:00
4 changed files with 22 additions and 4 deletions

View File

@@ -12,8 +12,8 @@ android {
applicationId = "com.v2ray.ang"
minSdk = 21
targetSdk = 35
versionCode = 659
versionName = "1.10.9"
versionCode = 661
versionName = "1.10.11"
multiDexEnabled = true
val abiFilterList = (properties["ABI_FILTERS"] as? String)?.split(';')

View File

@@ -887,6 +887,24 @@ object V2rayConfigManager {
)
)
}
if (v2rayConfig.routing.domainStrategy == "IPIfNonMatch") {
v2rayConfig.routing.rules.add(
RulesBean(
ip = arrayListOf("0.0.0.0/0", "::/0"),
balancerTag = "proxy-round",
type = "field"
)
)
} else {
v2rayConfig.routing.rules.add(
RulesBean(
network = "tcp,udp",
balancerTag = "proxy-round",
type = "field"
)
)
}
} catch (e: Exception) {
Log.e(AppConfig.TAG, "Failed to configure balance", e)
}

View File

@@ -21,7 +21,7 @@ toasty = "1.5.2"
editorkit = "2.9.0"
core = "3.5.3"
workRuntimeKtx = "2.10.2"
lifecycleViewmodelKtx = "2.9.1"
lifecycleViewmodelKtx = "2.9.2"
multidex = "2.0.1"
mockitoMockitoInline = "5.2.0"
flexbox = "3.0.0"