MagiskHidePropsConf/uninstall.sh

21 lines
409 B
Bash
Raw Permalink Normal View History

2019-04-05 21:10:02 +00:00
#!/system/bin/sh
# MagiskHide Props Config
2020-01-10 18:45:27 +00:00
# Copyright (c) 2018-2020 Didgeridoohan @ XDA Developers
2019-04-05 21:10:02 +00:00
# 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
2020-01-10 18:45:27 +00:00
. $MODPATH/common/util_functions.sh
2019-04-05 21:10:02 +00:00
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