~将update.sh更名为webget.sh,以修复部分华硕设备会误删文件的问题

This commit is contained in:
juewuy
2024-09-01 12:06:18 +08:00
parent cf64cd48b8
commit a29d66ec1c
3 changed files with 9 additions and 9 deletions

View File

@@ -1595,7 +1595,7 @@ core_check() { #检查及下载内核文件
tar_core "$BINDIR"/CrashCore.tar.gz CrashCore
[ -z "$(find "$TMPDIR"/CrashCore $find_para 2>/dev/null)" ] && {
logger "未找到【$crashcore】核心,正在下载!" 33
[ -z "$cpucore" ] && . "$CRASHDIR"/update.sh && getcpucore
[ -z "$cpucore" ] && . "$CRASHDIR"/webget.sh && getcpucore
[ -z "$cpucore" ] && logger 找不到设备的CPU信息请手动指定处理器架构类型 31 && exit 1
get_bin "$TMPDIR"/CrashCore.tar.gz "bin/$crashcore/${target}-linux-${cpucore}.tar.gz"
#校验内核