mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Update depends.sh
This commit is contained in:
parent
1ea936d55f
commit
c89d784fa4
@ -5,11 +5,10 @@ SetToolPaths() {
|
|||||||
. /etc/os-release 2>/dev/null
|
. /etc/os-release 2>/dev/null
|
||||||
platform="linux"
|
platform="linux"
|
||||||
|
|
||||||
futurerestore1="sudo LD_PRELOAD=./resources/lib/libcurl.so.3 LD_LIBRARY_PATH=resources/lib ./resources/tools/futurerestore1_linux"
|
futurerestore1="sudo LD_PRELOAD=./resources/lib/libcurl.so.3 LD_LIBRARY_PATH=./resources/lib ./resources/tools/futurerestore1_linux"
|
||||||
futurerestore2="sudo LD_LIBRARY_PATH=resources/lib ./resources/tools/futurerestore2_linux"
|
futurerestore2="sudo LD_LIBRARY_PATH=./resources/lib ./resources/tools/futurerestore2_linux"
|
||||||
idevicerestore="sudo LD_LIBRARY_PATH=resources/lib ./resources/tools/idevicerestore_linux"
|
idevicerestore="sudo LD_LIBRARY_PATH=./resources/lib ./resources/tools/idevicerestore_linux"
|
||||||
ipsw="env LD_LIBRARY_PATH=./lib ./tools/ipsw_linux"
|
ipsw="env LD_LIBRARY_PATH=./lib ./tools/ipsw_linux"
|
||||||
partialzip="./resources/tools/partialzip_linux"
|
|
||||||
python="$(which python2)"
|
python="$(which python2)"
|
||||||
ipwndfu="sudo $python ipwndfu"
|
ipwndfu="sudo $python ipwndfu"
|
||||||
rmsigchks="sudo $python rmsigchks.py"
|
rmsigchks="sudo $python rmsigchks.py"
|
||||||
@ -24,7 +23,6 @@ SetToolPaths() {
|
|||||||
idevicerestore="./resources/tools/idevicerestore_macos"
|
idevicerestore="./resources/tools/idevicerestore_macos"
|
||||||
ipsw="./tools/ipsw_macos"
|
ipsw="./tools/ipsw_macos"
|
||||||
ipwnder32="./resources/tools/ipwnder32_macos"
|
ipwnder32="./resources/tools/ipwnder32_macos"
|
||||||
partialzip="./resources/tools/partialzip_macos"
|
|
||||||
python="/usr/bin/python"
|
python="/usr/bin/python"
|
||||||
ipwndfu="$python ipwndfu"
|
ipwndfu="$python ipwndfu"
|
||||||
rmsigchks="$python rmsigchks.py"
|
rmsigchks="$python rmsigchks.py"
|
||||||
@ -38,6 +36,7 @@ SetToolPaths() {
|
|||||||
irecoverychk="./resources/libimobiledevice_$platform/irecovery"
|
irecoverychk="./resources/libimobiledevice_$platform/irecovery"
|
||||||
irecovery="$irecoverychk"
|
irecovery="$irecoverychk"
|
||||||
[[ $platform == "linux" ]] && irecovery="sudo $irecovery"
|
[[ $platform == "linux" ]] && irecovery="sudo $irecovery"
|
||||||
|
partialzip="./resources/tools/partialzip_$platform"
|
||||||
SSH="-F ./resources/ssh_config"
|
SSH="-F ./resources/ssh_config"
|
||||||
SCP="$(which scp) $SSH"
|
SCP="$(which scp) $SSH"
|
||||||
SSH="$(which ssh) $SSH"
|
SSH="$(which ssh) $SSH"
|
||||||
@ -117,7 +116,7 @@ InstallDepends() {
|
|||||||
ln -sf /usr/lib64/libbz2.so.1.* ../resources/lib/libbz2.so.1.0
|
ln -sf /usr/lib64/libbz2.so.1.* ../resources/lib/libbz2.so.1.0
|
||||||
|
|
||||||
elif [[ $ID == "opensuse-tumbleweed" ]]; then
|
elif [[ $ID == "opensuse-tumbleweed" ]]; then
|
||||||
sudo zypper -n in git imobiledevice-tools libusbmuxd-tools libimobiledevice libpng12-0 libopenssl1_0_0 python-base
|
sudo zypper -n in bsdiff git libimobiledevice libpng12-0 libopenssl1_0_0 python-base
|
||||||
ln -sf /usr/lib64/libzip.so.5 ../resources/lib/libzip.so.4
|
ln -sf /usr/lib64/libzip.so.5 ../resources/lib/libzip.so.4
|
||||||
|
|
||||||
elif [[ $platform == "macos" ]]; then
|
elif [[ $platform == "macos" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user