Update device.sh

This commit is contained in:
LukeZGD 2021-06-27 16:20:23 +08:00
parent ff77614c51
commit e5633173e2

View File

@ -172,7 +172,7 @@ CheckM8() {
if [[ $pwnDFUDevice != 0 ]]; then if [[ $pwnDFUDevice != 0 ]]; then
echo -e "\n${Color_R}[Error] Failed to enter pwnDFU mode. Please run the script again: ./restore.sh Downgrade ${Color_N}" echo -e "\n${Color_R}[Error] Failed to enter pwnDFU mode. Please run the script again: ./restore.sh Downgrade ${Color_N}"
echo "${Color_Y}* This step may fail a lot, especially on Linux, and unfortunately there is nothing I can do about the low success rates. ${Color_N}" echo "${Color_Y}* This step may fail a lot, especially on Linux, and unfortunately there is nothing I can do about the low success rates. ${Color_N}"
echo "${Color_Y}* The only option is to make sure you are using an Intel device, and to try multiple times ${Color_N}" echo "${Color_Y}* The only option is to make sure you are using an Intel or M1 device, and to try multiple times ${Color_N}"
Echo "* For more details, read the \"Other Notes\" section of the README" Echo "* For more details, read the \"Other Notes\" section of the README"
exit 1 exit 1
elif [[ $pwnDFUDevice == 0 ]]; then elif [[ $pwnDFUDevice == 0 ]]; then