Remove "fallback" tsschecker

This commit is contained in:
LukeZGD 2021-08-26 19:45:53 +08:00
parent 3b98d48c00
commit 1ca2d0a0f4
4 changed files with 3 additions and 4 deletions

View File

@ -22,8 +22,9 @@ SaveOTABlobs() {
SHSH=$(ls $SHSHChk) SHSH=$(ls $SHSHChk)
SHSHExisting=$(ls saved/shsh/$SHSHChk 2>/dev/null) SHSHExisting=$(ls saved/shsh/$SHSHChk 2>/dev/null)
if [[ ! $SHSH && ! $SHSHExisting ]]; then if [[ ! $SHSH && ! $SHSHExisting ]]; then
Log "Saving $OSVer blobs failed. Trying again with fallback tsschecker..." Log "Saving $OSVer blobs failed. Trying again with fallback..."
$tsschecker2 $ExtraArgs ExtraArgs+=" --no-baseband"
$tsschecker $ExtraArgs
SHSH=$(ls $SHSHChk) SHSH=$(ls $SHSHChk)
if [[ ! $SHSH ]]; then if [[ ! $SHSH ]]; then

View File

@ -16,7 +16,6 @@ SetToolPaths() {
ipwndfu="sudo $python ipwndfu" ipwndfu="sudo $python ipwndfu"
rmsigchks="sudo $python rmsigchks.py" rmsigchks="sudo $python rmsigchks.py"
SimpleHTTPServer="sudo -b $python -m SimpleHTTPServer 80" SimpleHTTPServer="sudo -b $python -m SimpleHTTPServer 80"
tsschecker2="env LD_PRELOAD=./resources/lib/libcurl.so.3 LD_LIBRARY_PATH=./resources/lib ./resources/tools/tsschecker2_linux"
elif [[ $OSTYPE == "darwin"* ]]; then elif [[ $OSTYPE == "darwin"* ]]; then
platform="macos" platform="macos"
@ -39,7 +38,6 @@ SetToolPaths() {
ipwndfu="$python ipwndfu" ipwndfu="$python ipwndfu"
rmsigchks="$python rmsigchks.py" rmsigchks="$python rmsigchks.py"
SimpleHTTPServer="$python -m SimpleHTTPServer 80" SimpleHTTPServer="$python -m SimpleHTTPServer 80"
tsschecker2="./resources/tools/tsschecker2_macos"
fi fi
git="$(which git)" git="$(which git)"
ideviceenterrecovery="$MPath/ideviceenterrecovery" ideviceenterrecovery="$MPath/ideviceenterrecovery"

Binary file not shown.

Binary file not shown.