Legacy-iOS-Kit/install.sh

24 lines
565 B
Bash
Raw Normal View History

#!/bin/bash
function ubuntu {
sudo apt update
sudo apt install bsdiff curl ifuse libimobiledevice-utils libzip4 usbmuxd
}
function arch {
sudo pacman -Sy bsdiff libcurl-compat libpng12 libzip openssl-1.0 usbmuxd
sudo ln -sf /usr/lib/libzip.so.5 /usr/lib/libzip.so.4
}
clear
echo "******* 841-OTA-Downgrader *******"
echo " - by LukeZGD "
echo
echo "Install dependencies"
select opt in "Ubuntu 16.04" "Arch Linux"; do
case $opt in
"Ubuntu 16.04" ) ubuntu; break;;
"Arch Linux" ) arch; break;;
esac
done