From 424125a2e591cc1f64ef6a33e880854be5f48f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E9=9B=A8=20=E6=98=9F=E6=B2=B3?= Date: Sun, 25 Aug 2024 21:46:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug=EF=BC=8C=E5=88=A0?= =?UTF-8?q?=E5=8E=BB=E5=A4=9A=E4=BD=99=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- magisk/customize.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/magisk/customize.sh b/magisk/customize.sh index 2558beb..3ce1142 100644 --- a/magisk/customize.sh +++ b/magisk/customize.sh @@ -27,15 +27,6 @@ echo "- 安卓版本:$(getprop ro.build.version.release)" echo "- SDK:$(getprop ro.build.version.sdk)" echo "- 内核版本:$(cat /proc/version)" -string="$(cat /proc/version)" -patterns=("Pandora" "Yuni" "Angel") - -for pattern in "${patterns[@]}"; do - if [[ "$string" == *"$pattern"* ]]; then - echo "当前内核不支持安装'$pattern'." - break - fi -done unzip -o "$ZIPFILE" -x 'META-INF/*' -d $MODPATH >&2 chmod -R 0777 $MODPATH