mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-31 10:05:13 +08:00
update 2026-06-26 15:45:01
This commit is contained in:
1 parent
5c9a2142b2
commit
555e431af2
14 files changed
+189
-18
No files matched your search
@@ -1419,6 +1419,10 @@ local function processData(szType, content, add_mode, group, sub_cfg)
|
||||
result.hysteria2_obfs_type = params.obfs or "salamander"
|
||||
result.hysteria2_obfs_password = params["obfs-password"] or params["obfs_password"]
|
||||
end
|
||||
if params.obfs == "gecko" then
|
||||
result.hysteria2_obfs_MinPacketSize = params.minpacketsize or "512"
|
||||
result.hysteria2_obfs_MaxPacketSize = params.maxpacketsize or "1200"
|
||||
end
|
||||
|
||||
if (sub_hysteria2_type == "sing-box" and has_singbox) or (sub_hysteria2_type == "xray" and has_xray) then
|
||||
local is_singbox = sub_hysteria2_type == "sing-box" and has_singbox
|
||||
|
||||
Reference in new issue
Block a user