mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-27 10:57:39 +00:00
10 lines
171 B
Bash
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
|