diff --git a/Nlbench.sh b/Nlbench.sh index 3b389c8..22be4d5 100644 --- a/Nlbench.sh +++ b/Nlbench.sh @@ -19,6 +19,7 @@ if [ "$(id -u)" != "0" ]; then echo "已获取 sudo 权限。" fi +# 更新脚本 update_scripts() { CURRENT_VERSION="2024-07-05 v1.0.0" # 最新版本号 SCRIPT_URL="https://raw.githubusercontent.com/everett7623/nodeloc_vps_test/main/Nlbench.sh" @@ -65,7 +66,6 @@ update_scripts() { fi } - # 检查并安装依赖 install_dependencies() { echo -e "${YELLOW}正在检查并安装必要的依赖项...${NC}"