Add scripts / support for Magisk Hide to Magisk

This commit is contained in:
topjohnwu
2016-10-15 05:38:12 +08:00
parent f785dcac3d
commit 70e8ad7104
8 changed files with 51 additions and 11 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/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