Skip to content

Commit 14f6915

Browse files
committed
修改
1 parent 4de521b commit 14f6915

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Termux/install-NH

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@ function get_rootfs() {
203203

204204
log "INFO" "开始下载 rootfs..."
205205
ROOTFS_URL="${BASE_URL}/${IMAGE_NAME}"
206-
if ask "是否使用多线程(aria2)" "Y"; then
207-
if command_exists aria2; then
208-
log "INFO" "使用 aria2 多线程下载: ${ROOTFS_URL}"
206+
if ask "是否使用多线程(aria2c)" "Y"; then
207+
if command_exists aria2c; then
208+
log "INFO" "使用 aria2c 多线程下载: ${ROOTFS_URL}"
209209
aria2c -x 16 -s 16 -k 1M "${ROOTFS_URL}" || error_exit "下载失败"
210210
else
211-
log "WARN" "未发现aria2使用wget下载: ${ROOTFS_URL}"
211+
log "WARN" "未发现aria2c使用wget下载: ${ROOTFS_URL}"
212212
wget -c "${ROOTFS_URL}" --progress=bar:force 2>&1 | while read -r line; do
213213
if [[ "$line" == *%* ]]; then
214214
echo -ne "\r${blue}[下载]${reset} $line"
@@ -529,7 +529,7 @@ function print_banner() {
529529
printf "${blue}## ##${reset}\n"
530530
printf "${blue}#### ############# NetHunter ####################${reset}\n"
531531
printf "${blue}#### ############ (网络猎人) ####################${reset}\n"
532-
printf "${blue}脚本优化: 东经雨 5.8${reset}\n"
532+
printf "${blue}脚本优化: 东经雨 5.9${reset}\n"
533533
printf "${yellow}技术支持: ChatGPT, Claude, DeepSeek${reset}\n"
534534
printf "使用则代表同意协议:\n"
535535
printf "作者已经脚本参与者不承担因脚本引发的任何法律问题,均由使用者自行承担\n\n"

0 commit comments

Comments
 (0)