mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 04:54:38 +03:00
get uot from Clash.Meta's subscription
This commit is contained in:
@@ -232,6 +232,13 @@ namespace NekoGui_sub {
|
|||||||
bean->password = Node2QString(proxy["password"]);
|
bean->password = Node2QString(proxy["password"]);
|
||||||
auto plugin_n = proxy["plugin"];
|
auto plugin_n = proxy["plugin"];
|
||||||
auto pluginOpts_n = proxy["plugin-opts"];
|
auto pluginOpts_n = proxy["plugin-opts"];
|
||||||
|
|
||||||
|
// UDP over TCP
|
||||||
|
if (Node2Bool(proxy["udp-over-tcp"])) {
|
||||||
|
bean->uot = Node2Int(proxy["udp-over-tcp-version"]);
|
||||||
|
if (bean->uot == 0) bean->uot = 2;
|
||||||
|
}
|
||||||
|
|
||||||
if (plugin_n.IsDefined() && pluginOpts_n.IsDefined()) {
|
if (plugin_n.IsDefined() && pluginOpts_n.IsDefined()) {
|
||||||
QStringList ssPlugin;
|
QStringList ssPlugin;
|
||||||
auto plugin = Node2QString(plugin_n);
|
auto plugin = Node2QString(plugin_n);
|
||||||
|
|||||||
Reference in New Issue
Block a user