Update Nlbench_beta.sh

This commit is contained in:
Jensfrank 2024-07-18 13:42:13 +08:00 committed by GitHub
parent a221eb623a
commit d9232a458e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,10 +1,5 @@
#!/bin/bash
# 定义版本
CURRENT_VERSION="2024-07-18 v1.0.5" # 最新版本号
SCRIPT_URL="https://raw.githubusercontent.com/everett7623/nodeloc_vps_test/main/Nlbench_beta.sh"
VERSION_URL="https://raw.githubusercontent.com/everett7623/nodeloc_vps_test/main/version.sh"
# 定义颜色
RED='\033[0;31m'
GREEN='\033[0;32m'
@ -20,6 +15,11 @@ colors=(
'\033[38;2;255;255;0m' # 黄色
)
# 定义版本
CURRENT_VERSION="2024-07-18 v1.0.5" # 最新版本号
SCRIPT_URL="https://raw.githubusercontent.com/everett7623/nodeloc_vps_test/main/Nlbench_beta.sh"
VERSION_URL="https://raw.githubusercontent.com/everett7623/nodeloc_vps_test/main/version.sh"
# 更新脚本
update_scripts() {
REMOTE_VERSION=$(curl -s $VERSION_URL)