mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 21:45:27 +00:00
13 lines
216 B
Bash
13 lines
216 B
Bash
#!/system/bin/sh
|
|
|
|
HIDELIST=$MOUNTPOINT/.core/magiskhide/hidelist
|
|
|
|
if [ ! -z "$1" ]; then
|
|
if [ $(grep -c "^$1$" $HIDELIST) -eq "0" ]; then
|
|
echo "$1" >> $HIDELIST
|
|
fi
|
|
fi
|
|
|
|
# Reload the list
|
|
setprop magisk.hide 1
|