1.1.3 修复卸载后安装版本误判的bug

pull/190/head
wulabing 2020-02-23 23:12:43 +08:00
parent 82e25f4e75
commit 84354823c8
1 changed files with 2 additions and 1 deletions

View File

@ -803,11 +803,12 @@ uninstall_all(){
fi fi
[[ -d $v2ray_conf_dir ]] && rm -rf $v2ray_conf_dir [[ -d $v2ray_conf_dir ]] && rm -rf $v2ray_conf_dir
[[ -d $web_dir ]] && rm -rf $web_dir [[ -d $web_dir ]] && rm -rf $web_dir
[[ -d $HOME/.acme.sh]] && acme.sh uninstall
systemctl daemon-reload systemctl daemon-reload
echo -e "${OK} ${GreenBG} 已卸载SSL证书文件已保留 ${Font}" echo -e "${OK} ${GreenBG} 已卸载SSL证书文件已保留 ${Font}"
} }
judge_mode(){ judge_mode(){
if [ -f $v2ray_qr_config_file ] if [ -f $v2ray_bin_file ]
then then
if [[ -n $(grep "ws" $v2ray_qr_config_file) ]] if [[ -n $(grep "ws" $v2ray_qr_config_file) ]]
then then