KernelSU-Next does not auto-close Action dialog when successful

This commit is contained in:
Chris Renshaw
2025-01-08 10:25:39 -04:00
committed by GitHub
parent 264a218a79
commit 8a64752923

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" ] && [ "$MMRL" != "true" ]; then
if [ "$KSU" = "true" -o "$APATCH" = "true" ] && [ "$KSU_NEXT" != "true" ] && [ "$MMRL" != "true" ]; then
echo -e "\nClosing dialog in 20 seconds ..."
sleep 20
fi