mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-24 00:49:17 +01:00
Forgot to add xcode select
This commit is contained in:
parent
59c8bbc8de
commit
a3126703b2
@ -53,7 +53,7 @@ function Main {
|
|||||||
DFUDevice=$($lsusb | grep -c '1227')
|
DFUDevice=$($lsusb | grep -c '1227')
|
||||||
RecoveryDevice=$($lsusb | grep -c '1281')
|
RecoveryDevice=$($lsusb | grep -c '1281')
|
||||||
if [[ $1 == Install ]] || [ ! $(which $bspatch) ] || [ ! $(which $ideviceinfo) ] ||
|
if [[ $1 == Install ]] || [ ! $(which $bspatch) ] || [ ! $(which $ideviceinfo) ] ||
|
||||||
[ ! $(which $lsusb) ] || [ ! $(which ssh) ] || [ ! $(which $python) ]; then
|
[ ! $(which git) ] || [ ! $(which ssh) ] || [ ! $(which $python) ]; then
|
||||||
InstallDependencies
|
InstallDependencies
|
||||||
elif [ $DFUDevice == 1 ] || [ $RecoveryDevice == 1 ]; then
|
elif [ $DFUDevice == 1 ] || [ $RecoveryDevice == 1 ]; then
|
||||||
ProductType=$(sudo LD_LIBRARY_PATH=/usr/local/lib resources/tools/igetnonce_$platform 2>/dev/null)
|
ProductType=$(sudo LD_LIBRARY_PATH=/usr/local/lib resources/tools/igetnonce_$platform 2>/dev/null)
|
||||||
@ -478,6 +478,7 @@ function InstallDependencies {
|
|||||||
|
|
||||||
elif [[ $OSTYPE == "darwin"* ]]; then
|
elif [[ $OSTYPE == "darwin"* ]]; then
|
||||||
# macOS
|
# macOS
|
||||||
|
xcode-select --install
|
||||||
curl -L https://github.com/libimobiledevice-win32/imobiledevice-net/releases/download/v1.3.4/libimobiledevice.1.2.1-r1079-osx-x64.zip -o libimobiledevice.zip
|
curl -L https://github.com/libimobiledevice-win32/imobiledevice-net/releases/download/v1.3.4/libimobiledevice.1.2.1-r1079-osx-x64.zip -o libimobiledevice.zip
|
||||||
rm -rf ../resources/libimobiledevice
|
rm -rf ../resources/libimobiledevice
|
||||||
mkdir ../resources/libimobiledevice
|
mkdir ../resources/libimobiledevice
|
||||||
|
Loading…
Reference in New Issue
Block a user