From edb5f438e4473ac6a732d64a287dd2f8c934699b Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Tue, 30 Apr 2024 11:47:10 +0800 Subject: [PATCH] Update restore.sh --- restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index df5bcc2..f649e69 100755 --- a/restore.sh +++ b/restore.sh @@ -506,7 +506,7 @@ device_entry() { until [[ -n $device_type ]]; do read -p "$(input 'Enter device type (eg. iPad2,1): ')" device_type done - if [[ $device_proc != 1 ]]; then + if [[ $device_type != "iPhone1"* && $device_type != "iPod1,1" ]]; then until [[ -n $device_ecid ]] && [ "$device_ecid" -eq "$device_ecid" ]; do read -p "$(input 'Enter device ECID (must be decimal): ')" device_ecid done