Magisk/zip_static/common/magiskhide/rm

10 lines
188 B
Plaintext
Raw Normal View History

#!/system/bin/sh
2016-10-31 20:21:43 +00:00
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