mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 07:51:45 +00:00
~将update.sh更名为webget.sh,以修复部分华硕设备会误删文件的问题
This commit is contained in:
@@ -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"
|
||||
#校验内核
|
||||
|
||||
Reference in New Issue
Block a user