mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-01-11 15:59:08 +01:00
Fix verifying IPSW
This commit is contained in:
parent
bb190d3001
commit
127f0d88be
@ -439,7 +439,8 @@ function Downgrade {
|
|||||||
curl -L $(cat $Firmware/$BuildVer/url) -o tmp/$IPSW.ipsw
|
curl -L $(cat $Firmware/$BuildVer/url) -o tmp/$IPSW.ipsw
|
||||||
mv tmp/$IPSW.ipsw .
|
mv tmp/$IPSW.ipsw .
|
||||||
fi
|
fi
|
||||||
if [ ! -e $IPSWCustom.ipsw ]; then
|
[[ $Jailbreak == 1 ]] && [ -e $IPSWCustom.ipsw ] && Verify=0
|
||||||
|
if [[ $Verify != 0 ]]; then
|
||||||
Log "Verifying IPSW..."
|
Log "Verifying IPSW..."
|
||||||
IPSWSHA1=$(cat $Firmware/$BuildVer/sha1sum)
|
IPSWSHA1=$(cat $Firmware/$BuildVer/sha1sum)
|
||||||
IPSWSHA1L=$(shasum $IPSW.ipsw | awk '{print $1}')
|
IPSWSHA1L=$(shasum $IPSW.ipsw | awk '{print $1}')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user