mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-12-28 01:05:19 +00:00
Update Nlbench_beta.sh
This commit is contained in:
parent
48f2083bc9
commit
28f70512ef
@ -1,5 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 定义版本
|
||||
CURRENT_VERSION="2024-07-19 v1.0.6" # 最新版本号
|
||||
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'
|
||||
@ -15,11 +20,6 @@ colors=(
|
||||
'\033[38;2;255;255;0m' # 黄色
|
||||
)
|
||||
|
||||
# 定义版本
|
||||
CURRENT_VERSION="2024-07-19 v1.0.6" # 最新版本号
|
||||
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 | grep -oP '(?<=#\s)[\d-]+\sv[\d.]+(?=\s-)')
|
||||
|
Loading…
Reference in New Issue
Block a user