mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-25 15:51:50 +01:00
24 lines
565 B
Bash
24 lines
565 B
Bash
|
#!/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
|