File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2323# adb kill-server
2424" ${ADB} " start-server
2525
26- echo -e " ${CL_YLW} Disabling overlays ${CL_RST} "
26+ echo -e " ${CL_YLW} Disabling overlays${CL_RST} "
2727for item in $( " ${ADB} " shell cmd overlay list | grep ' \[x\]' | sed ' s/\[x\]//' ) ; do echo " ${item} " && " ${ADB} " shell cmd overlay disable " ${item} " ; done
Original file line number Diff line number Diff line change 2424" ${ADB} " start-server
2525
2626if [[ ! " ${@ } " =~ --skip-disabled ]]; then
27- echo -e " ${CL_YLW} Uninstalling disabled overlays ${CL_RST} "
27+ echo -e " ${CL_YLW} Uninstalling disabled overlays${CL_RST} "
2828for item in $( " ${ADB} " shell cmd overlay list | grep ' \[ \]' | sed ' s/\[ \]//' ) ; do echo " ${item} " && " ${ADB} " shell pm uninstall " ${item} " ; done
2929fi
3030
3131if [[ ! " ${@ } " =~ --skip-enabled ]]; then
32- echo -e " ${CL_YLW} Uninstalling enabled overlays ${CL_RST} "
32+ echo -e " ${CL_YLW} Uninstalling enabled overlays${CL_RST} "
3333for item in $( " ${ADB} " shell cmd overlay list | grep ' \[x\]' | sed ' s/\[x\]//' ) ; do echo " ${item} " && " ${ADB} " shell pm uninstall " ${item} " ; done
3434fi
3535
3636if [[ ! " ${@ } " =~ --skip-stuck ]]; then
37- echo -e " ${CL_YLW} Uninstalling pink state overlays ${CL_RST} "
37+ echo -e " ${CL_YLW} Uninstalling pink state overlays${CL_RST} "
3838for item in $( " ${ADB} " shell cmd overlay list | grep ' \-\-\-' | sed ' s/--- //' ) ; do echo " ${item} " && " ${ADB} " shell pm uninstall " ${item} " ; done
3939fi
4040
41- echo -e " ${CL_YLW} The script will reboot your device in five seconds ${CL_RST} "
41+ echo -e " ${CL_YLW} The script will reboot your device in five seconds${CL_RST} "
4242
4343for i in {5..1}; do
44- echo -e " ${CL_YLW} Rebooting in ${i} seconds"
44+ echo -e " ${CL_YLW} Rebooting in ${i} seconds"
4545 sleep 1
4646done
4747
48- echo -e " ${CL_YLW} Rebooting ${CL_RST} "
48+ echo -e " ${CL_YLW} Rebooting${CL_RST} "
4949" ${ADB} " reboot
You can’t perform that action at this time.
0 commit comments