Fix speedtest core type

This commit is contained in:
DHR60 2026-03-07 15:11:25 +08:00
parent c0aa829abb
commit 7d3e630b5c

View file

@ -268,7 +268,7 @@ public class CoreConfigContextBuilder
{ {
IndexId = $"inner-{Utils.GetGuid(false)}", IndexId = $"inner-{Utils.GetGuid(false)}",
ConfigType = EConfigType.ProxyChain, ConfigType = EConfigType.ProxyChain,
CoreType = node.CoreType ?? ECoreType.Xray, CoreType = AppManager.Instance.GetCoreType(node, node.ConfigType),
}; };
List<string?> childItems = [prevNode?.IndexId, node.IndexId, nextNode?.IndexId]; List<string?> childItems = [prevNode?.IndexId, node.IndexId, nextNode?.IndexId];
var chainExtraItem = chainNode.GetProtocolExtra() with var chainExtraItem = chainNode.GetProtocolExtra() with