mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-15 04:53:00 +08:00
🌴 Sync 2026-09-09 14:20:42
This commit is contained in:
1 parent
bdf27b2b83
commit
8838c030cd
77 files changed
+2534
-2032
No files matched your search
@@ -443,7 +443,15 @@ function add_node()
|
||||
uci_set(uid, "group", group)
|
||||
end
|
||||
|
||||
uci_set(uid, "type", "Xray")
|
||||
if api.finded_com("sing-box") then
|
||||
uci_set(uid, "type", "sing-box")
|
||||
elseif api.finded_com("xray") then
|
||||
uci_set(uid, "type", "Xray")
|
||||
elseif api.is_finded("sslocal") then
|
||||
uci_set(uid, "type", "SS-Rust")
|
||||
elseif api.is_finded("ssr-local") then
|
||||
uci_set(uid, "type", "SSR")
|
||||
end
|
||||
|
||||
if redirect == "1" then
|
||||
uci_save()
|
||||
|
||||
Reference in new issue
Block a user