mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-23 23:01:49 +01:00
Untested 16.04 support
not recommended to run on 16.04! use 18.04 and newer
This commit is contained in:
parent
c2c5dc0344
commit
2422c005f8
@ -52,9 +52,7 @@
|
||||
6. Follow instructions
|
||||
|
||||
## Supported OS versions/distros:
|
||||
- [Ubuntu 18.04](http://releases.ubuntu.com/bionic/) and Bionic-based distros
|
||||
- [Ubuntu 20.04](http://releases.ubuntu.com/focal/) and Focal-based distros like [Linux Mint 20](https://www.linuxmint.com/)
|
||||
- Ubuntu 20.10
|
||||
- Ubuntu [16.04](http://releases.ubuntu.com/xenial/), [18.04](http://releases.ubuntu.com/bionic/), [20.04](http://releases.ubuntu.com/focal/), and [20.10](https://releases.ubuntu.com/groovy/) and Ubuntu-based distros like [Linux Mint](https://www.linuxmint.com/)
|
||||
- [Arch Linux](https://www.archlinux.org/) and Arch-based distros like [Manjaro](https://manjaro.org/)
|
||||
- [Fedora 32 to 33](https://getfedora.org/)
|
||||
- macOS 10.13 to 10.15
|
||||
|
12
restore.sh
12
restore.sh
@ -56,6 +56,11 @@ function Main {
|
||||
if [[ $UBUNTU_CODENAME == "bionic" ]]; then
|
||||
futurerestore2="${futurerestore2}_bionic"
|
||||
idevicerestore="${idevicerestore}_bionic"
|
||||
elif [[ $UBUNTU_CODENAME == "xenial" ]]; then
|
||||
futurerestore2="${futurerestore2}_xenial"
|
||||
idevicerestore="${idevicerestore}_xenial"
|
||||
partialzip="${partialzip}_xenial"
|
||||
tsschecker="${tsschecker}_xenial"
|
||||
fi
|
||||
|
||||
elif [[ $OSTYPE == "darwin"* ]]; then
|
||||
@ -567,7 +572,8 @@ function InstallDependencies {
|
||||
ln -sf /usr/lib/libcurl.so.3 ../resources/lib/libcurl.so.3
|
||||
ln -sf /usr/lib/libzip.so.5 ../resources/lib/libzip.so.4
|
||||
|
||||
elif [[ $UBUNTU_CODENAME == "bionic" ]] || [[ $UBUNTU_CODENAME == "focal" ]] || [[ $UBUNTU_CODENAME == "groovy" ]]; then
|
||||
elif [[ $UBUNTU_CODENAME == "xenial" ]] || [[ $UBUNTU_CODENAME == "bionic" ]] ||
|
||||
[[ $UBUNTU_CODENAME == "focal" ]] || [[ $UBUNTU_CODENAME == "groovy" ]]; then
|
||||
# Ubuntu
|
||||
sudo add-apt-repository universe
|
||||
sudo apt update
|
||||
@ -580,6 +586,10 @@ function InstallDependencies {
|
||||
sudo dpkg -i libpng12_bionic.deb libzip5.deb
|
||||
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_linux_bionic.zip tools_linux_bionic.zip 959abbafacfdaddf87dd07683127da1dab6c835f
|
||||
unzip tools_linux_bionic.zip -d ../resources/tools
|
||||
elif [[ $UBUNTU_CODENAME == "xenial" ]]; then
|
||||
sudo apt install -y libzip4 python libpng12
|
||||
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_linux_xenial.zip tools_linux_xenial.zip b74861fd87511a92e36e27bf2ec3e1e83b6e8200
|
||||
unzip tools_linux_xenial.zip -d ../resources/tools
|
||||
else
|
||||
sudo apt install -y libzip5 python2
|
||||
sudo dpkg -i libpng12.deb libssl1.0.0.deb libzip4.deb
|
||||
|
Loading…
Reference in New Issue
Block a user