mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-21 14:50:58 -08: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