xray-core uses quic to add failure prompts and plans to remove quic

pull/6079/head
2dust 2 weeks ago
parent a849dec6c2
commit 2de9e14c7d

@ -59,7 +59,7 @@ namespace ServiceLib.Handler
var fileName = Utils.GetConfigPath(Global.CoreConfigFileName); var fileName = Utils.GetConfigPath(Global.CoreConfigFileName);
var result = await CoreConfigHandler.GenerateClientConfig(node, fileName); var result = await CoreConfigHandler.GenerateClientConfig(node, fileName);
ShowMsg(false, result.Msg); ShowMsg(true, result.Msg);
if (result.Success != true) if (result.Success != true)
{ {
return; return;

@ -27,6 +27,12 @@ namespace ServiceLib.Services.CoreConfig
return ret; return ret;
} }
if (node.GetNetwork() is nameof(ETransport.quic))
{
ret.Msg = ResUI.Incorrectconfiguration + $" - {node.GetNetwork()}";
return ret;
}
ret.Msg = ResUI.InitialConfiguration; ret.Msg = ResUI.InitialConfiguration;
var result = Utils.GetEmbedText(Global.V2raySampleClient); var result = Utils.GetEmbedText(Global.V2raySampleClient);

Loading…
Cancel
Save