mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-18 11:02:40 +02:00
scripts/customize: remove webui on managers with action
This commit is contained in:
parent
420ebda8bc
commit
419c07745e
@ -65,3 +65,14 @@ if [ -f "/data/adb/pif.json" ]; then
|
|||||||
ui_print "- Backup custom pif.json"
|
ui_print "- Backup custom pif.json"
|
||||||
mv -f /data/adb/pif.json /data/adb/pif.json.old
|
mv -f /data/adb/pif.json /data/adb/pif.json.old
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# give exec perm to action.sh
|
||||||
|
chmod +x "$MODPATH/action.sh"
|
||||||
|
|
||||||
|
# action.sh, ap 10927, ksu 11981
|
||||||
|
if { [ "$KSU" = "true" ] && [ "$KSU_VER_CODE" -ge 11981 ]; } ||
|
||||||
|
{ [ "$APATCH" = "true" ] && [ "$APATCH_VER_CODE" -ge 10927 ]; }; then
|
||||||
|
# we dont need the webui workaround
|
||||||
|
# since manager has action
|
||||||
|
rm -rf "$MODPATH/webroot"
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user