MMRL (3rd party module manager) doesn't auto-close Actions so exclude it

This commit is contained in:
Chris Renshaw
2024-12-29 23:59:50 -04:00
committed by GitHub
parent d9794b2017
commit da0fad725a

View File

@@ -9,7 +9,7 @@ sh $MODPATH/autopif2.sh || exit 1
echo -e "\nDone!"
# warn since KernelSU/APatch's implementation automatically closes if successful
if [ "$KSU" = "true" -o "$APATCH" = "true" ]; then
if [ "$KSU" = "true" -o "$APATCH" = "true" ] && [ "$MMRL" != "true" ]; then
echo -e "\nClosing dialog in 20 seconds ..."
sleep 20
fi