更新 khd.sh

This commit is contained in:
coolsd 2024-09-22 11:06:23 +08:00
parent 1dec08ec5a
commit cd8e030b66

2
khd.sh
View File

@ -14,7 +14,7 @@ fi
sleep 3
# 下载 khd 程序
mkdir -p /usr/local/bin/
curl https://git.uauu.net/coolsd/khd/raw/branch/main/newkhd05 -o /usr/local/bin/khdn
curl https://git.uauu.net/coolsd/khd/raw/branch/main/newkhd04 -o /usr/local/bin/khdn
# 检查是否以 root 权限运行
if [ "$EUID" -ne 0 ]; then