mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-28 04:27:39 +00:00
13 lines
233 B
Plaintext
13 lines
233 B
Plaintext
|
#!/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
|