Skip to content

Commit ddc36a9

Browse files
committed
add condition here
1 parent 6555e84 commit ddc36a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

restore.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5585,7 +5585,7 @@ restore_futurerestore() {
55855585
futurerestore2+="_old"
55865586
elif [[ $device_proc == 7 && $device_target_other != 1 && $device_target_vers == "10.3.3" &&
55875587
$restore_usepwndfu64 != 1 && $platform == "linux" && $platform_arch == "arm64" ]]; then
5588-
futurerestore2+="_new"
5588+
futurerestore2+="_new" # no futurerestore nightly build for linux arm64
55895589
else
55905590
futurerestore2="../saved/futurerestore_$platform"
55915591
if [[ $target_vers_maj == 10 ]]; then
@@ -5647,7 +5647,8 @@ restore_futurerestore() {
56475647
# custom arg(s), either --use-pwndfu or --skip-blob, or both
56485648
for arg in "$@"; do
56495649
if [[ $device_proc == 7 && $device_target_other != 1 && $device_target_vers == "10.3.3" &&
5650-
$arg == "--skip-blob" && $FUTURERESTORE_I_SOLEMNLY_SWEAR_THAT_I_AM_UP_TO_NO_GOOD == 1 ]]; then
5650+
$restore_usepwndfu64 != 1 && $arg == "--skip-blob" &&
5651+
$FUTURERESTORE_I_SOLEMNLY_SWEAR_THAT_I_AM_UP_TO_NO_GOOD == 1 ]]; then
56515652
arg+="2" # --skip-blob2
56525653
fi
56535654
[[ -n "$arg" ]] && ExtraArr+=("$arg")

0 commit comments

Comments
 (0)