~禁止在dash环境下安装脚本并增加错误提示
~修复升级后导致配置文件被错误移除的bug
~修复小米tun修复工具补丁目录错误的bug
This commit is contained in:
juewuy
2023-08-03 20:53:31 +08:00
parent ed3a7c020e
commit 6786bc054c
7 changed files with 18 additions and 14 deletions

View File

@@ -2,8 +2,11 @@
# Copyright (C) Juewuy
type bash &>/dev/null && shtype=bash || shtype=sh
echo='echo -e' && [ -n "$(echo -e|grep e)" ] && echo=echo
echo='echo -e'
[ -n "$(echo -e|grep e)" ] && {
echo "\033[31m不支持dash环境安装请先输入bash命令后再运行安装命令\033[0m"
exit
}
echo "***********************************************"
echo "** 欢迎使用 **"
echo "** ShellClash **"