mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-10 23:41:22 +00:00
~bug fix
This commit is contained in:
@@ -15,9 +15,9 @@ update_servers() { #更新servers.list
|
||||
gen_ua(){ #自动生成ua
|
||||
[ -z "$user_agent" -o "$user_agent" = "auto" ] && {
|
||||
if echo "$crashcore" | grep -q 'singbox'; then
|
||||
user_agent="sing-box/singbox/$core_v"
|
||||
user_agent="sing-box/$core_v"
|
||||
elif [ "$crashcore" = meta ]; then
|
||||
user_agent="clash.meta/mihomo/$core_v"
|
||||
user_agent="clash.meta/mihomo"
|
||||
else
|
||||
user_agent="clash"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user