mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 05:07:45 +02:00
run module uninstall.sh on Magisk uninstallation
This commit is contained in:
@ -137,6 +137,11 @@ case $((STATUS & 3)) in
|
||||
;;
|
||||
esac
|
||||
|
||||
if $BOOTMODE; then
|
||||
ui_print "- Removing modules"
|
||||
magisk --remove-modules -n
|
||||
fi
|
||||
|
||||
ui_print "- Removing Magisk files"
|
||||
rm -rf \
|
||||
/cache/*magisk* /cache/unblock /data/*magisk* /data/cache/*magisk* /data/property/*magisk* \
|
||||
|
Reference in New Issue
Block a user