Merge pull request #26 from tsosunchia/main

修补之前再部分macOS设备出现的颜色显示问题:替换macOS中bash-3.1不支持的部分指令
This commit is contained in:
tsosunchia
2022-05-27 19:37:55 +08:00
committed by GitHub

View File

@@ -10,7 +10,7 @@ fi
usrPath="/usr/local/bin"
function red() {
echo -e "\033[31m$1\033[0m"
echo -e "\033[31m"${1}"\033[0m"
}
checkRootPermit() {