Fix partialzip (oops)

fixes #71
This commit is contained in:
LukeeGD 2020-12-04 21:58:18 +08:00
parent e3be2d4447
commit 6b9032cb5b

View File

@ -37,7 +37,6 @@ function Main {
Echo " Downgrader script by LukeZGD " Echo " Downgrader script by LukeZGD "
echo echo
partialzip="resources/tools/partialzip_$platform"
if [[ $OSTYPE == "linux-gnu" ]]; then if [[ $OSTYPE == "linux-gnu" ]]; then
. /etc/os-release 2>/dev/null . /etc/os-release 2>/dev/null
platform="linux" platform="linux"
@ -49,6 +48,7 @@ function Main {
ipsw="env LD_LIBRARY_PATH=lib tools/ipsw_linux" ipsw="env LD_LIBRARY_PATH=lib tools/ipsw_linux"
irecoverychk="resources/libirecovery/bin/irecovery" irecoverychk="resources/libirecovery/bin/irecovery"
irecovery="sudo LD_LIBRARY_PATH=resources/lib $irecoverychk" irecovery="sudo LD_LIBRARY_PATH=resources/lib $irecoverychk"
partialzip="resources/tools/partialzip_linux"
pwnedDFU="sudo LD_LIBRARY_PATH=resources/lib resources/tools/pwnedDFU_linux" pwnedDFU="sudo LD_LIBRARY_PATH=resources/lib resources/tools/pwnedDFU_linux"
python="python2" python="python2"
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"
@ -75,6 +75,7 @@ function Main {
ipsw="tools/ipsw_$platform" ipsw="tools/ipsw_$platform"
irecovery="resources/libimobiledevice_$platform/irecovery" irecovery="resources/libimobiledevice_$platform/irecovery"
irecoverychk=$irecovery irecoverychk=$irecovery
partialzip="resources/tools/partialzip_$platform"
pwnedDFU="resources/tools/pwnedDFU_$platform" pwnedDFU="resources/tools/pwnedDFU_$platform"
python="python" python="python"
futurerestore1="resources/tools/futurerestore1_$platform" futurerestore1="resources/tools/futurerestore1_$platform"