diff --git a/install.sh b/install.sh index 9b8715a..5ff43f8 100644 --- a/install.sh +++ b/install.sh @@ -671,10 +671,12 @@ ssl_update_manuel(){ [ -f ${amce_sh_file} ] && "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" || echo -e "${RedBG}证书签发工具不存在,请确认你是否使用了自己的证书${Font}" } bbr_boost_sh(){ + [ -f "tcp.sh" ] && rm -rf ./tcp.sh wget -N --no-check-certificate "https://github.com/ylx2016/Linux-NetSpeed/releases/download/sh/tcp.sh" && chmod +x tcp.sh && ./tcp.sh } mtproxy_sh(){ - wget -N --no-check-certificate https://github.com/whunt1/onekeymakemtg/raw/master/mtproxy_go.sh && chmod +x mtproxy_go.sh && bash mtproxy_go.sh + [ -f "mtproxy_go.sh" ] && rm -rf ./mtproxy_go.sh + wget -N --no-check-certificate https://github.com/whunt1/onekeymakemtg/raw/master/mtproxy_go.sh && chmod +x mtproxy_go.sh && ./mtproxy_go.sh } uninstall_all(){