mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-11-20 15:05:22 +00:00
Update Nlbench.sh
This commit is contained in:
parent
5159adf3f5
commit
93b4d08be6
@ -39,6 +39,7 @@ check_update() {
|
||||
echo "当前版本: $current_version"
|
||||
echo "正在自动更新..."
|
||||
if curl -o "$0.tmp" https://raw.githubusercontent.com/everett7623/nodeloc_vps_test/main/NLbench.sh && mv "$0.tmp" "$0"; then
|
||||
chmod +x "$0" # 添加执行权限
|
||||
echo "更新完成。重新启动脚本..."
|
||||
exec "$0" "$@"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user