mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-02 21:04:20 +01:00
Update restore.sh
This commit is contained in:
parent
f85ec2d638
commit
08ec064653
@ -1834,7 +1834,7 @@ device_ipwndfu() {
|
|||||||
local pyenv=$(command -v pyenv 2>/dev/null)
|
local pyenv=$(command -v pyenv 2>/dev/null)
|
||||||
local pyenv2="$HOME/.pyenv/versions/2.7.18/bin/python2"
|
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"
|
pyenv="$HOME/.pyenv/bin/pyenv"
|
||||||
fi
|
fi
|
||||||
if [[ $platform == "macos" ]] && (( mac_majver < 12 )); then
|
if [[ $platform == "macos" ]] && (( mac_majver < 12 )); then
|
||||||
|
Loading…
Reference in New Issue
Block a user