mirror of https://github.com/NekoX-Dev/NekoX.git
Fix shadowsocks
This commit is contained in:
parent
60e0b895f6
commit
359c7c593d
|
@ -43,10 +43,12 @@ import org.telegram.messenger.R
|
|||
}
|
||||
}
|
||||
val lookupNames get() = lookup.values.map {
|
||||
if (it.label.isNotBlank()) {
|
||||
if (it.label.isNotBlank() && it.id.isNotBlank()) {
|
||||
"${it.label} (${it.id})"
|
||||
} else if (it.label.isNotBlank()) {
|
||||
it.label
|
||||
} else if (it.id.isNotBlank()) {
|
||||
it.id
|
||||
} else ""
|
||||
} else it.packageName
|
||||
}.map { it.takeIf { it.isNotBlank() } ?: LocaleController.getString("Disable", R.string.Disable) }.toTypedArray()
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ rm -rf TMessagesProj/libs/*.aar
|
|||
./gradlew ssr-libev:assembleRelease &&
|
||||
cp ssr-libev/build/outputs/aar/* TMessagesProj/libs &&
|
||||
cd TMessagesProj/libs &&
|
||||
go get -v golang.org/x/mobile/cmd/...
|
||||
go get -v golang.org/x/mobile/cmd/... || exit 1
|
||||
|
||||
v2rayCore="$(go env GOPATH)/src/v2ray.com/core"
|
||||
|
||||
|
|
|
@ -25,7 +25,8 @@ cargo {
|
|||
profile = findProperty("CARGO_PROFILE")?.toString() ?: "release"
|
||||
extraCargoBuildArguments = listOf("--bin", "sslocal")
|
||||
featureSpec.noDefaultBut(arrayOf(
|
||||
"single-threaded",
|
||||
"stream-cipher",
|
||||
"logging",
|
||||
"local-flow-stat",
|
||||
"local-dns"))
|
||||
exec = { spec, toolchain ->
|
||||
|
|
Loading…
Reference in New Issue