mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-18 06:02:53 +08:00
update 2026-05-17 21:09:00
This commit is contained in:
1 parent
9d2cd3c1c7
commit
39a3fb3cf9
10 files changed
+11
-249
No files matched your search
@@ -1,7 +1,6 @@
|
||||
local api = require "luci.passwall.api"
|
||||
local uci = api.uci
|
||||
local appname = "passwall"
|
||||
local has_ss = api.is_finded("ss-redir")
|
||||
local has_ss_rust = api.is_finded("sslocal")
|
||||
local has_singbox = api.finded_com("sing-box")
|
||||
local has_xray = api.finded_com("xray")
|
||||
@@ -12,10 +11,6 @@ local vmess_type = {}
|
||||
local vless_type = {}
|
||||
local hysteria2_type = {}
|
||||
local xray_version = api.get_app_version("xray")
|
||||
if has_ss then
|
||||
local s = "shadowsocks-libev"
|
||||
table.insert(ss_type, s)
|
||||
end
|
||||
if has_ss_rust then
|
||||
local s = "shadowsocks-rust"
|
||||
table.insert(ss_type, s)
|
||||
|
||||
Reference in new issue
Block a user