mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-01-23 21:51:13 +01:00
link lib for ipwndfu on arm mac to detect libusb
This commit is contained in:
parent
18c353c5dd
commit
8ed81b2c15
@ -22,6 +22,7 @@ warn() {
|
|||||||
|
|
||||||
error() {
|
error() {
|
||||||
echo -e "${color_R}[Error] ${1}\n${color_Y}${*:2}${color_N}"
|
echo -e "${color_R}[Error] ${1}\n${color_Y}${*:2}${color_N}"
|
||||||
|
print "* Legacy iOS Kit $version_current ($git_hash)"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1336,6 +1337,11 @@ device_ipwndfu() {
|
|||||||
mv ../resources/ipwndfu*/ ../resources/ipwndfu/
|
mv ../resources/ipwndfu*/ ../resources/ipwndfu/
|
||||||
echo "$ipwndfu_sha1" > ../resources/ipwndfu/sha1
|
echo "$ipwndfu_sha1" > ../resources/ipwndfu/sha1
|
||||||
fi
|
fi
|
||||||
|
if [[ -d /opt/local/lib ]]; then
|
||||||
|
ln -sf /opt/local/lib ~/lib
|
||||||
|
elif [[ -d /opt/homebrew/lib ]]; then
|
||||||
|
ln -sf /opt/homebrew/lib ~/lib
|
||||||
|
fi
|
||||||
|
|
||||||
pushd ../resources/ipwndfu/ >/dev/null
|
pushd ../resources/ipwndfu/ >/dev/null
|
||||||
case $1 in
|
case $1 in
|
||||||
@ -4541,6 +4547,7 @@ main() {
|
|||||||
|
|
||||||
echo
|
echo
|
||||||
print "* Save the terminal output now if needed."
|
print "* Save the terminal output now if needed."
|
||||||
|
print "* Legacy iOS Kit $version_current ($git_hash)"
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user