Magisk Hide won't play well with dummy lib

This commit is contained in:
topjohnwu 2016-11-14 05:02:57 +08:00
parent f1d3e35aac
commit 397c1a1c2b

View File

@ -370,10 +370,14 @@ case $1 in
if [ -f "$MOUNTINFO/dummy/system/lib" ]; then
cd /system/lib
cp -afc $LIBS $DUMMDIR/system/lib
# Crash prevention!!
rm -f $COREDIR/magiskhide/enable 2>/dev/null
fi
if [ -f "$MOUNTINFO/dummy/system/lib64" ]; then
cd /system/lib64
cp -afc $LIBS $DUMMDIR/system/lib64
# Crash prevention!!
rm -f $COREDIR/magiskhide/enable 2>/dev/null
fi
# vendor libraries are device dependent, had no choice but copy them all if needed....