Skip to content

Commit 4541609

Browse files
committed
correct way of checking a11 device
1 parent 5a0261e commit 4541609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

restore.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5748,7 +5748,7 @@ restore_futurerestore() {
57485748
#local fr_latest="$(cat commits | $jq -r '.[0].sha')"
57495749
local fr_latest="45d0267ee24854d8bb9f5dbef29c3226af0d48db"
57505750
local fr_branch="main"
5751-
if (( target_vers_maj >= 16 )) || [[ $restore_usedev == 1 || $device_proc == 11 ]]; then
5751+
if (( target_vers_maj >= 16 )) || [[ $restore_usedev == 1 || $device_type == "iPhone10,"* ]]; then
57525752
fr_latest="c473a1748559b4673e0c43fa73cfa4421857be12"
57535753
fr_branch="dev"
57545754
fi

0 commit comments

Comments
 (0)