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 *.ipsw
*.shsh2 *.shsh2
tmp/ 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 fi
echo "Saving $DowngradeVersion blobs with tsschecker..." 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 echo
SHSH=$(ls *.shsh2) SHSH=$(ls *.shsh2)
if [ ! -e $SHSH ]; then if [ ! -e $SHSH ]; then
@ -156,7 +156,7 @@ function Downgrade {
echo "Preparing for futurerestore..." echo "Preparing for futurerestore..."
cd resources cd resources
sudo python3 -m http.server 80 sudo python3 -m http.server 80 &
pythonPID=$! pythonPID=$!
cd .. cd ..
@ -181,7 +181,7 @@ function Downgrade {
fi fi
done done
kill $pythonPID sudo kill $pythonPID
echo "Downgrade script done!" echo "Downgrade script done!"
exit exit
} }