Magisk/zip_static/common/magiskhide/rm
2016-11-01 04:21:43 +08:00

10 lines
188 B
Bash

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