From 777bc7cac4bca3384fecb0d64b449fceb3e4e496 Mon Sep 17 00:00:00 2001 From: LukeZGD Date: Mon, 30 Aug 2021 22:50:46 +0800 Subject: [PATCH] This should fix #119 --- resources/depends.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/*