File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -240,8 +240,11 @@ function get_rootfs() {
240
240
241
241
function verify_sha() {
242
242
log " INFO" " 开始下载 rootfs 验证文件..."
243
- wget -q -c " ${BASE_URL} /SHA256SUMS" -O SHA256SUMS
244
-
243
+ if command_exists wget; then
244
+ wget -q -c " ${BASE_URL} /SHA256SUMS" -O SHA256SUMS
245
+ else
246
+ curl -O " ${BASE_URL} /SHA256SUMS"
247
+ fi
245
248
if [ -f " SHA256SUMS" ]; then
246
249
FILE_NAME=$( basename " $IMAGE_NAME " )
247
250
log " INFO" " 提取文件名: $FILE_NAME "
@@ -533,7 +536,7 @@ function print_banner() {
533
536
printf " ${blue} ## ##${reset} \n"
534
537
printf " ${blue} #### ############# NetHunter ####################${reset} \n"
535
538
printf " ${blue} #### ############ (网络猎人) ####################${reset} \n"
536
- printf " ${blue} 脚本优化: 东经雨 6.0 ${reset} \n"
539
+ printf " ${blue} 脚本优化: 东经雨 6.1 ${reset} \n"
537
540
printf " ${yellow} 技术支持: ChatGPT, Claude, DeepSeek${reset} \n"
538
541
printf " 使用则代表同意协议:\n"
539
542
printf " 作者已经脚本参与者不承担因脚本引发的任何法律问题,均由使用者自行承担\n\n"
You can’t perform that action at this time.
0 commit comments