From 08ec0646530c26cb81d0d20d225efa0c016e9935 Mon Sep 17 00:00:00 2001 From: LukeeGD <26163116+LukeZGD@users.noreply.github.com> Date: Wed, 27 Nov 2024 18:53:17 +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 47734c4..91e0269 100755 --- a/restore.sh +++ b/restore.sh @@ -1834,7 +1834,7 @@ device_ipwndfu() { local pyenv=$(command -v pyenv 2>/dev/null) local pyenv2="$HOME/.pyenv/versions/2.7.18/bin/python2" - if [[ -z "$pyenv" && -e "$HOME.pyenv/bin/pyenv" ]]; then + if [[ -z "$pyenv" && -e "$HOME/.pyenv/bin/pyenv" ]]; then pyenv="$HOME/.pyenv/bin/pyenv" fi if [[ $platform == "macos" ]] && (( mac_majver < 12 )); then