Compare commits

...

2 Commits

Author SHA1 Message Date
action
a9c2d0ea56 update 2026-07-06 04:53:09 2026-07-06 04:53:09 +08:00
action
a61a4c5e0a update 2026-07-06 01:03:21 2026-07-06 01:03:21 +08:00
4 changed files with 6 additions and 5 deletions

View File

@ -1428,8 +1428,8 @@ local function processData(szType, content, add_mode, group, sub_cfg)
result.tls_pinSHA256 = params.pcs or params.pinsha256 result.tls_pinSHA256 = params.pcs or params.pinsha256
result.tls_CertByName = params.vcn result.tls_CertByName = params.vcn
result.tls_allowInsecure = params.allowinsecure or params.insecure result.tls_allowInsecure = params.allowinsecure or params.insecure
result.hysteria2_up_mbps = params.upmbps or sub_hy_up_mbps result.hysteria2_up_mbps = params.upmbps or (sub_cfg and sub_hy_up_mbps or nil)
result.hysteria2_down_mbps = params.downmbps or sub_hy_down_mbps result.hysteria2_down_mbps = params.downmbps or (sub_cfg and sub_hy_down_mbps or nil)
result.hysteria2_hop = params.mport result.hysteria2_hop = params.mport
if params["obfs-password"] or params["obfs_password"] then if params["obfs-password"] or params["obfs_password"] then
result.hysteria2_obfs_type = params.obfs or "salamander" result.hysteria2_obfs_type = params.obfs or "salamander"

View File

@ -293,7 +293,7 @@ if is_finded("xray") then
o.datatype = "or(uinteger,portrange)" o.datatype = "or(uinteger,portrange)"
o.default = "100-200" o.default = "100-200"
else else
o.default = "3-6-8" o.default = "3-6"
end end
o:depends("fragment", true) o:depends("fragment", true)

View File

@ -529,6 +529,7 @@ o:value("https://www.google.com/generate_204", "Google")
o:value("https://www.youtube.com/generate_204", "YouTube") o:value("https://www.youtube.com/generate_204", "YouTube")
o:value("https://connect.rom.miui.com/generate_204", "MIUI (CN)") o:value("https://connect.rom.miui.com/generate_204", "MIUI (CN)")
o:value("https://connectivitycheck.platform.hicloud.com/generate_204", "HiCloud (CN)") o:value("https://connectivitycheck.platform.hicloud.com/generate_204", "HiCloud (CN)")
o:value("https://wifi.vivo.com.cn/generate_204", "VIVO (CN)")
o.default = o.keylist[3] o.default = o.keylist[3]

View File

@ -315,13 +315,13 @@ link_mihomo_geodata() {
ln -sf /usr/share/v2ray/geosite.dat "$workdir/geosite.dat" ln -sf /usr/share/v2ray/geosite.dat "$workdir/geosite.dat"
else else
[ -s /etc/openclash/GeoSite.dat ] && ln -sf /etc/openclash/GeoSite.dat "$workdir/GeoSite.dat" [ -s /etc/openclash/GeoSite.dat ] && ln -sf /etc/openclash/GeoSite.dat "$workdir/GeoSite.dat"
[ -s /etc/openclash/geosite.dat ] && ln -sf /etc/openclash/geosite.dat "$workdir/geosite.dat" [ -s /etc/openclash/GeoSite.dat ] && ln -sf /etc/openclash/GeoSite.dat "$workdir/geosite.dat"
fi fi
if [ -s /usr/share/v2ray/geoip.dat ]; then if [ -s /usr/share/v2ray/geoip.dat ]; then
ln -sf /usr/share/v2ray/geoip.dat "$workdir/geoip.dat" ln -sf /usr/share/v2ray/geoip.dat "$workdir/geoip.dat"
else else
[ -s /etc/openclash/geoip.dat ] && ln -sf /etc/openclash/geoip.dat "$workdir/geoip.dat" [ -s /etc/openclash/GeoIP.dat ] && ln -sf /etc/openclash/GeoIP.dat "$workdir/geoip.dat"
fi fi
return 0 return 0