mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 21:45:27 +00:00
13 lines
233 B
Bash
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
|