MagiskHidePropsConf/uninstall.sh

21 lines
402 B
Bash
Raw Normal View History

2019-04-05 21:10:02 +00:00
#!/system/bin/sh
# MagiskHide Props Config
# Copyright (c) 2018-2019 Didgeridoohan @ XDA Developers
# Licence: MIT
# Uninstalls the module settings file and directory in Magisk's secure directory
# together with a few module files in /cache.
MODPATH=${0%/*}
2019-11-22 19:19:18 +00:00
BOOTSTAGE="post"
2019-04-05 21:10:02 +00:00
# Load functions
. $MODPATH/util_functions.sh
2019-11-02 22:24:17 +00:00
rm -rf "$MHPCPATH"
2019-04-05 21:10:02 +00:00
for ITEM in $CACHEFILES; do
2019-11-02 22:24:17 +00:00
rm -f $CACHELOC/$ITEM
2019-04-05 21:10:02 +00:00
done