mirror of https://github.com/wulabing/Xray_onekey
1.1.3 修复卸载后安装版本误判的bug
parent
82e25f4e75
commit
84354823c8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue