This commit is contained in:
HystericalDragon
2023-07-22 12:38:13 +08:00
parent ceae0e3faa
commit 3e0762e0b2
2 changed files with 10 additions and 0 deletions

View File

@@ -155,6 +155,13 @@ namespace NekoGui_fmt {
QJsonObject settings;
if (proxy_type == proxy_VLESS) {
if (flow.right(7) == "-udp443") {
// 检查末尾是否包含"-udp443",如果是,则删去
flow.chop(7);
} else if (flow == "none") {
// 不使用 flow
flow = "";
}
outbound["uuid"] = password.trimmed();
outbound["flow"] = flow;
} else {