diff --git a/resources/depends.sh b/resources/depends.sh index a33c14e..e82aa01 100755 --- a/resources/depends.sh +++ b/resources/depends.sh @@ -157,10 +157,10 @@ 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/*