mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-07 20:53:43 +00:00
Magisk Hide Massive Update
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
HIDELIST=$MOUNTPOINT/.core/magiskhide/hidelist
|
||||
HIDELIST=/magisk/.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
|
||||
|
||||
Reference in New Issue
Block a user