mirror of
https://github.com/topjohnwu/Magisk
synced 2025-08-31 12:15:15 +00:00
Do not allow remove the module to be updated
This commit is contained in:
@@ -765,6 +765,8 @@ install_module() {
|
||||
if $BOOTMODE; then
|
||||
# Update info for Magisk app
|
||||
mktouch $NVBASE/modules/$MODID/update
|
||||
rm -rf $NVBASE/modules/$MODID/remove 2>/dev/null
|
||||
rm -rf $NVBASE/modules/$MODID/disable 2>/dev/null
|
||||
cp -af $MODPATH/module.prop $NVBASE/modules/$MODID/module.prop
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user