Skip to content

Commit

Permalink
Merge pull request #60 from E85Addict/main
Browse files Browse the repository at this point in the history
Magisk Compatibility fix for 27005+
  • Loading branch information
Keinta15 authored Sep 16, 2024
2 parents 9c1e0db + ebcf214 commit b8339eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions META-INF/com/google/android/update-binary
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ unzip -o "$ZIPFILE" module.prop -d $TMPDIR >&2
[ ! -f $TMPDIR/module.prop ] && abort "! Unable to extract zip file!"

$BOOTMODE && MODDIRNAME=modules_update || MODDIRNAME=modules
MODULEROOT=$NVBASE/$MODDIRNAME
MODULEROOT=/data/adb/$MODDIRNAME
MODID=`grep_prop id $TMPDIR/module.prop`
MODPATH=$MODULEROOT/$MODID
MODNAME=`grep_prop name $TMPDIR/module.prop`
Expand Down Expand Up @@ -144,8 +144,8 @@ done

if $BOOTMODE; then
# Update info for Magisk Manager
mktouch $NVBASE/modules/$MODID/update
cp -af $MODPATH/module.prop $NVBASE/modules/$MODID/module.prop
mktouch /data/adb/modules/$MODID/update
cp -af $MODPATH/module.prop /data/adb/modules/$MODID/module.prop
fi

# Copy over custom sepolicy rules
Expand Down

0 comments on commit b8339eb

Please sign in to comment.