Fix 16.04 support (support will be removed soon)

When 21.04 Hirsute gets released, 16.04 Xenial support will be removed
This commit is contained in:
LukeZGD 2021-03-24 13:54:25 +08:00
parent b1ede8a2b1
commit ee2c585585

View File

@ -632,7 +632,7 @@ function InstallDependencies {
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_linux_bionic.zip tools_linux_bionic.zip 959abbafacfdaddf87dd07683127da1dab6c835f 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 unzip tools_linux_bionic.zip -d ../resources/tools
elif [[ $UBUNTU_CODENAME == "xenial" ]]; then elif [[ $UBUNTU_CODENAME == "xenial" ]]; then
sudo apt install -y libzip4 python libpng12-0 sudo apt install -y libcurl3 libzip4 python libpng12-0
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_linux_xenial.zip tools_linux_xenial.zip b74861fd87511a92e36e27bf2ec3e1e83b6e8200 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 unzip tools_linux_xenial.zip -d ../resources/tools
elif [[ $PRETTY_NAME == "Debian GNU/Linux bullseye/sid" ]]; then elif [[ $PRETTY_NAME == "Debian GNU/Linux bullseye/sid" ]]; then