flash module: ignore META-INF

This commit is contained in:
vvb2060
2024-09-22 00:50:36 +08:00
committed by John Wu
parent 3414415907
commit 506961a10d
2 changed files with 4 additions and 10 deletions

View File

@ -641,7 +641,7 @@ install_module() {
# Extract prop file
unzip -o "$ZIPFILE" module.prop -d $TMPDIR >&2
[ ! -f $TMPDIR/module.prop ] && abort "! Unable to extract zip file!"
[ ! -f $TMPDIR/module.prop ] && abort "! This zip is not a Magisk module!"
local MODDIRNAME=modules
$BOOTMODE && MODDIRNAME=modules_update