diff --git a/Nlbench_beta.sh b/Nlbench_beta.sh index 52e5bca..0194643 100644 --- a/Nlbench_beta.sh +++ b/Nlbench_beta.sh @@ -9,6 +9,15 @@ GREEN='\033[0;32m' YELLOW='\033[1;33m' NC='\033[0m' # No Color +# 定义渐变颜色数组 +colors=( + '\033[38;2;0;255;0m' # 绿色 + '\033[38;2;64;255;0m' + '\033[38;2;128;255;0m' + '\033[38;2;192;255;0m' + '\033[38;2;255;255;0m' # 黄色 +) + # 检查 root 权限并获取 sudo 权限 if [ "$(id -u)" != "0" ]; then echo "此脚本需要 root 权限运行。" @@ -462,11 +471,13 @@ show_welcome() { echo -e "${GREEN}GitHub地址: https://github.com/everett7623/nodeloc_vps_test${NC}" echo -e "${GREEN}VPS选购: https://www.nodeloc.com/vps${NC}" echo "" - echo -e "${YELLOW} _ _ ___ ____ _____ _ ___ ____ __ __ ____ ____${NC}" - echo -e "${YELLOW}| \\ | | / _ \\ | _ \\ | ____|| | / _ \\ / ___| \\ \\ / /| _ \\ / ___|${NC}" - echo -e "${YELLOW}| \\| || | | || | | || _| | | | | | || | \\ \\ / / | |_) |\\___ \\${NC}" - echo -e "${YELLOW}| |\\ || |_| || |_| || |___ | |___| |_| || |___ \\ V / | __/ ___) |${NC}" - echo -e "${YELLOW}|_| \\_| \\___/ |____/ |_____||_____|\___/ \\____| \\_/ |_| |____/${NC}" + echo -e "${colors[0]} # # ####### ###### ####### # ####### ##### # # ###### ##### ${NC}" + echo -e "${colors[1]} ## # # # # # # # # # # # # # # # # # ${NC}" + echo -e "${colors[2]} # # # # # # # # # # # # # # # # # ${NC}" + echo -e "${colors[3]} # # # # # # # ##### # # # ##### # # ###### ##### ${NC}" + echo -e "${colors[4]} # # # # # # # # # # # # # # # # ${NC}" + echo -e "${colors[3]} # ## # # # # # # # # # # # # # # # ${NC}" + echo -e "${colors[2]} # # ####### ###### ####### ####### ####### ##### # # ##### ${NC}" echo "" echo "支持Ubuntu/Debian" echo ""