mirror of https://github.com/2dust/v2rayN
Preparing to remove part of the core
https://github.com/2dust/v2rayN/discussions/5703pull/5767/head
parent
3dfd557265
commit
1b11916e1e
|
@ -166,7 +166,7 @@
|
||||||
public static readonly List<string> Flows = new() { "", "xtls-rprx-vision", "xtls-rprx-vision-udp443" };
|
public static readonly List<string> Flows = new() { "", "xtls-rprx-vision", "xtls-rprx-vision-udp443" };
|
||||||
public static readonly List<string> Networks = new() { "tcp", "kcp", "ws", "httpupgrade", "splithttp", "h2", "quic", "grpc" };
|
public static readonly List<string> Networks = new() { "tcp", "kcp", "ws", "httpupgrade", "splithttp", "h2", "quic", "grpc" };
|
||||||
public static readonly List<string> KcpHeaderTypes = new() { "srtp", "utp", "wechat-video", "dtls", "wireguard" };
|
public static readonly List<string> KcpHeaderTypes = new() { "srtp", "utp", "wechat-video", "dtls", "wireguard" };
|
||||||
public static readonly List<string> CoreTypes = new() { "v2fly", "SagerNet", "Xray", "sing_box" };
|
public static readonly List<string> CoreTypes = new() { "v2fly", "Xray", "sing_box" };//TODO
|
||||||
public static readonly List<string> CoreTypes4VLESS = new() { "Xray", "sing_box" };
|
public static readonly List<string> CoreTypes4VLESS = new() { "Xray", "sing_box" };
|
||||||
public static readonly List<string> DomainStrategies = new() { "AsIs", "IPIfNonMatch", "IPOnDemand" };
|
public static readonly List<string> DomainStrategies = new() { "AsIs", "IPIfNonMatch", "IPOnDemand" };
|
||||||
public static readonly List<string> DomainStrategies4Singbox = new() { "ipv4_only", "ipv6_only", "prefer_ipv4", "prefer_ipv6", "" };
|
public static readonly List<string> DomainStrategies4Singbox = new() { "ipv4_only", "ipv6_only", "prefer_ipv4", "prefer_ipv6", "" };
|
||||||
|
|
|
@ -38,6 +38,14 @@
|
||||||
SQLiteHelper.Instance.CreateTable<RoutingItem>();
|
SQLiteHelper.Instance.CreateTable<RoutingItem>();
|
||||||
SQLiteHelper.Instance.CreateTable<ProfileExItem>();
|
SQLiteHelper.Instance.CreateTable<ProfileExItem>();
|
||||||
SQLiteHelper.Instance.CreateTable<DNSItem>();
|
SQLiteHelper.Instance.CreateTable<DNSItem>();
|
||||||
|
|
||||||
|
//TODO
|
||||||
|
//Prepare to remove the clash
|
||||||
|
SQLiteHelper.Instance.Execute($"update ProfileItem set coreType = 13 where coreType = 11");
|
||||||
|
SQLiteHelper.Instance.Execute($"update ProfileItem set coreType = 13 where coreType = 12");
|
||||||
|
//Prepare to remove the SagerNet
|
||||||
|
SQLiteHelper.Instance.Execute($"update ProfileItem set coreType = 2 where coreType = 3");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Config
|
#region Config
|
||||||
|
|
|
@ -18,6 +18,9 @@ namespace v2rayN.Views
|
||||||
{
|
{
|
||||||
if (it == ECoreType.v2rayN)
|
if (it == ECoreType.v2rayN)
|
||||||
continue;
|
continue;
|
||||||
|
//TODO
|
||||||
|
if (it is ECoreType.clash or ECoreType.clash_meta or ECoreType.SagerNet)
|
||||||
|
continue;
|
||||||
cmbCoreType.Items.Add(it.ToString());
|
cmbCoreType.Items.Add(it.ToString());
|
||||||
}
|
}
|
||||||
cmbCoreType.Items.Add(string.Empty);
|
cmbCoreType.Items.Add(string.Empty);
|
||||||
|
|
Loading…
Reference in New Issue