From 08a8ef0d14c6a4a99f72f3a8f1f24f8429468ae2 Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Sun, 2 Jun 2024 01:41:47 +0800 Subject: [PATCH] Fix ramdisk version select A5/A6 (fix #497) --- restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index f267210..3d224d4 100755 --- a/restore.sh +++ b/restore.sh @@ -6875,7 +6875,7 @@ device_enter_ramdisk() { return elif (( device_proc >= 5 )) && [[ $device_vers == "9"* || $device_vers == "10"* ]]; then device_rd_build="13A452" - elif (( device_proc >= 5 )) && (( device_det <= 8 )); then + elif (( device_proc >= 5 )) && (( device_det <= 8 )) && [[ $device_mode == "Normal" ]]; then : elif (( device_proc >= 5 )); then print "* To mount /var (/mnt2) for iOS 9-10, I recommend using 9.0.2 (13A452)."