mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-26 00:01:50 +01:00
parent
777bc7cac4
commit
8f7603c602
@ -157,13 +157,16 @@ InstallDepends() {
|
||||
libimobiledevice=("https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice_linux.zip" "4344b3ca95d7433d5a49dcacc840d47770ba34c4")
|
||||
fi
|
||||
|
||||
mkdir ../resources/libimobiledevice_$platform
|
||||
|
||||
if [[ ! -d ../resources/libimobiledevice_$platform && $MPath == "./resources"* ]]; then
|
||||
Log "Downloading libimobiledevice..."
|
||||
SaveFile ${libimobiledevice[0]} libimobiledevice.zip ${libimobiledevice[1]}
|
||||
mkdir ../resources/libimobiledevice_$platform
|
||||
Log "Extracting libimobiledevice..."
|
||||
unzip -q libimobiledevice.zip -d ../resources/libimobiledevice_$platform
|
||||
chmod +x ../resources/libimobiledevice_$platform/*
|
||||
elif [[ $MPath != "./resources"* ]]; then
|
||||
mkdir ../resources/libimobiledevice_$platform
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user