Skip to content

Commit

Permalink
Update customize.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rhythmcache authored Jan 20, 2025
1 parent 871d152 commit a35c16e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ if [ "$APATCH" ]; then
ui_print "- APatch: $APATCH_VER$APATCH_VER_CODE"
bin_dir="/data/adb/ap/bin"
rm -f "$MODPATH/action.sh"
sed -i 's/wadbd/\/data\/adb\/ap\/bin\/wadbd/g' "$MODPATH/webroot/index.html"
[ -f /data/adb/ap/bin/wadbd ] && rm -f /data/adb/ap/bin/wadbd

elif [ "$KSU" ]; then
ui_print "- KSU: $KSU_KERNEL_VER_CODE$KSU_VER_CODE"
bin_dir="/data/adb/ksu/bin"
rm -f "$MODPATH/action.sh"
sed -i 's/wadbd/\/data\/adb\/ksu\/bin\/wadbd/g' "$MODPATH/webroot/index.html"
[ -f /data/adb/ap/bin/wadbd ] && rm -f /data/adb/ap/bin/wadbd
elif [ "$MAGISK_VER_CODE" ]; then
ui_print "- Magisk: $MAGISK_VER$MAGISK_VER_CODE"
else
Expand Down

0 comments on commit a35c16e

Please sign in to comment.