Fix errors

- also remove unneeded html files (they should work fine anyway)
This commit is contained in:
LukeeGD 2020-03-02 18:40:42 +08:00
parent c1dd8815bf
commit 71013168e6
20 changed files with 5 additions and 21 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
*.ipsw
*.shsh2
tmp/
ota.json
*Restore

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -122,7 +122,7 @@ function SaveOTABlobs {
fi
echo "Saving $DowngradeVersion blobs with tsschecker..."
env "LD_PRELOAD=libcurl.so.3" resources/tools/tsschecker_$platform -d $ProductType -i $DowngradeVersion -o -s -e $UniqueChipID -m tmp/$BuildManifest
env "LD_PRELOAD=libcurl.so.3" resources/tools/tsschecker_$platform -d $ProductType -i $DowngradeVersion -o -s -e $UniqueChipID -m $BuildManifest
echo
SHSH=$(ls *.shsh2)
if [ ! -e $SHSH ]; then
@ -156,7 +156,7 @@ function Downgrade {
echo "Preparing for futurerestore..."
cd resources
sudo python3 -m http.server 80
sudo python3 -m http.server 80 &
pythonPID=$!
cd ..
@ -181,7 +181,7 @@ function Downgrade {
fi
done
kill $pythonPID
sudo kill $pythonPID
echo "Downgrade script done!"
exit
}