mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-09 18:43:12 +00:00
Allow Splice on Android
This commit is contained in:
parent
16544c18ab
commit
98da186471
|
@ -170,7 +170,7 @@ func (c *VLessOutboundConfig) Build() (proto.Message, error) {
|
||||||
switch account.Flow {
|
switch account.Flow {
|
||||||
case "", "xtls-rprx-origin", "xtls-rprx-origin-udp443", "xtls-rprx-direct", "xtls-rprx-direct-udp443":
|
case "", "xtls-rprx-origin", "xtls-rprx-origin-udp443", "xtls-rprx-direct", "xtls-rprx-direct-udp443":
|
||||||
case "xtls-rprx-splice", "xtls-rprx-splice-udp443":
|
case "xtls-rprx-splice", "xtls-rprx-splice-udp443":
|
||||||
if runtime.GOOS != "linux" {
|
if runtime.GOOS != "linux" && runtime.GOOS != "android" {
|
||||||
return nil, newError(`VLESS users: "` + account.Flow + `" only support linux in this version`)
|
return nil, newError(`VLESS users: "` + account.Flow + `" only support linux in this version`)
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue