Magisk/zip_static/common/magiskhide/rm

13 lines
233 B
Bash

#!/system/bin/sh
HIDELIST=$MOUNTPOINT/.core/magiskhide/hidelist
if [ ! -z "$1" ]; then
mv $HIDELIST $HIDELIST.tmp
cat $HIDELIST.tmp | grep -v "^$1$" > $HIDELIST
rm -f $HIDELIST.tmp
fi
# Reload the list
setprop magisk.hide 1