2016-11-01 04:21:43 +08:00

10 lines
171 B
Bash

#!/system/bin/sh
HIDELIST=/magisk/.core/magiskhide/hidelist
if [ ! -z "$1" ]; then
if [ $(grep -c "^$1$" $HIDELIST) -eq "0" ]; then
echo "$1" >> $HIDELIST
fi
fi