mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 18:34:14 +01:00
do not dl libimobiledevice if installed from brew
This commit is contained in:
parent
a4166d51f4
commit
b6fa9f2f95
@ -153,7 +153,7 @@ InstallDepends() {
|
|||||||
libimobiledevice=("https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice_linux.zip" "4344b3ca95d7433d5a49dcacc840d47770ba34c4")
|
libimobiledevice=("https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice_linux.zip" "4344b3ca95d7433d5a49dcacc840d47770ba34c4")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -d ../resources/libimobiledevice_$platform ]]; then
|
if [[ ! -d ../resources/libimobiledevice_$platform && $MPath == "./resources"* ]]; then
|
||||||
Log "Downloading libimobiledevice..."
|
Log "Downloading libimobiledevice..."
|
||||||
SaveFile ${libimobiledevice[0]} libimobiledevice.zip ${libimobiledevice[1]}
|
SaveFile ${libimobiledevice[0]} libimobiledevice.zip ${libimobiledevice[1]}
|
||||||
mkdir ../resources/libimobiledevice_$platform
|
mkdir ../resources/libimobiledevice_$platform
|
||||||
|
Loading…
Reference in New Issue
Block a user