Update depends and tools

This commit is contained in:
LukeZGD 2022-04-29 16:16:31 +08:00
parent db7af88f5b
commit 9d3ab0fb21
5 changed files with 6 additions and 5 deletions

View File

@ -75,7 +75,8 @@
- Python 2 (for ipwndfu, rmsigchks, SimpleHTTPServer) - Python 2 (for ipwndfu, rmsigchks, SimpleHTTPServer)
- Python 3 (http.server) - Python 3 (http.server)
- [tsschecker](https://github.com/tihmstar/tsschecker) - tihmstar - [tsschecker](https://github.com/tihmstar/tsschecker) - tihmstar
- [futurerestore](https://github.com/m1stadev/futurerestore/tree/test) - m1stadev fork - [tsschecker](https://github.com/1Conan/tsschecker) - 1Conan fork
- [futurerestore](https://github.com/futurerestore/futurerestore) - futurerestore beta
- [kloader](https://www.youtube.com/watch?v=fh0tB6fp0Sc) - [kloader](https://www.youtube.com/watch?v=fh0tB6fp0Sc)
- [kloader5 for iOS 5](https://www.pmbonneau.com/cydia/com.pmbonneau.kloader5_1.2_iphoneos-arm.deb) - [kloader5 for iOS 5](https://www.pmbonneau.com/cydia/com.pmbonneau.kloader5_1.2_iphoneos-arm.deb)
- [kloader_hgsp for iOS 10](https://twitter.com/nyan_satan/status/945203180522045440) - [kloader_hgsp for iOS 10](https://twitter.com/nyan_satan/status/945203180522045440)

View File

@ -57,6 +57,8 @@ SetToolPaths() {
tsschecker="./resources/tools/tsschecker_$platform" tsschecker="./resources/tools/tsschecker_$platform"
if [[ $platform == "linux" ]]; then if [[ $platform == "linux" ]]; then
LDDver=$(ldd --version | awk '/ldd/{print $NF}' | cut -c 3-)
(( LDDver >= 34 )) && ipsw="${ipsw}2"
# these need to run as root for device detection # these need to run as root for device detection
futurerestore="sudo $futurerestore" futurerestore="sudo $futurerestore"
ipwndfu="sudo $ipwndfu" ipwndfu="sudo $ipwndfu"
@ -151,7 +153,7 @@ InstallDepends() {
fi fi
if [[ $platform == "linux" ]]; then if [[ $platform == "linux" ]]; then
libimobiledevice=("https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice_linux.zip" "95e2ffc86b35c71039fcf3ef732e30dd766112ce") libimobiledevice=("https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice_linux.zip" "fc5e714adf6fa72328d3e1ddea4e633f370559a4")
fi fi
if [[ ! -d ../resources/libimobiledevice_$platform && $MPath == "./resources"* ]]; then if [[ ! -d ../resources/libimobiledevice_$platform && $MPath == "./resources"* ]]; then

BIN
resources/tools/ipsw_linux2 Executable file

Binary file not shown.

Binary file not shown.

View File

@ -68,7 +68,7 @@ Main() {
if [[ ! $platform ]]; then if [[ ! $platform ]]; then
Error "Platform unknown/not supported." Error "Platform unknown/not supported."
fi fi
chmod +x ./resources/*.sh ./resources/tools/* chmod +x ./resources/*.sh ./resources/tools/*
if [[ $? != 0 ]]; then if [[ $? != 0 ]]; then
Error "A problem with file permissions has been detected, cannot proceed." Error "A problem with file permissions has been detected, cannot proceed."
@ -98,9 +98,7 @@ Main() {
fi fi
SaveExternal LukeZGD ipwndfu SaveExternal LukeZGD ipwndfu
GetDeviceValues $1 GetDeviceValues $1
Clean Clean
mkdir tmp mkdir tmp