mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-23 23:01:49 +01:00
Fix
This commit is contained in:
parent
3cab3e24e1
commit
54a1cc81db
@ -149,7 +149,7 @@ function Downgrade {
|
||||
then
|
||||
echo "Downloading ota.json..."
|
||||
curl -L -# "https://api.ipsw.me/v2.1/ota.json/condensed" -o "tmp/ota.json"
|
||||
echo 'Copying ota.json to /tmp or $TMPDIR...'
|
||||
echo 'Copying ota.json to tmp...'
|
||||
if [ $platform == macos ]
|
||||
then
|
||||
cp tmp/ota.json $TMPDIR
|
||||
@ -178,13 +178,7 @@ function Downgrade {
|
||||
fi
|
||||
|
||||
echo "Saving $DowngradeVersion blobs with tsschecker..."
|
||||
if [[ ! $NoBaseband ]]
|
||||
then
|
||||
env "LD_PRELOAD=libcurl.so.3" tools/tsschecker_$platform -d $ProductType -i $DowngradeVersion -o -s -e $UniqueChipID -m tmp/BuildManifest.plist
|
||||
else
|
||||
echo "Detected device has no baseband"
|
||||
env "LD_PRELOAD=libcurl.so.3" tools/tsschecker_$platform -d $ProductType -i $DowngradeVersion -o -s -b -e $UniqueChipID -m tmp/BuildManifest.plist
|
||||
fi
|
||||
env "LD_PRELOAD=libcurl.so.3" tools/tsschecker_$platform -d $ProductType -i $DowngradeVersion -o -s -e $UniqueChipID -m tmp/BuildManifest.plist
|
||||
echo
|
||||
if [ ! -e $(ls *.shsh2) ]
|
||||
then
|
||||
@ -332,7 +326,7 @@ function MainMenu {
|
||||
|
||||
if [ ! $HardwareModel ]
|
||||
then
|
||||
echo "Please plug the device in before proceeding"
|
||||
echo "Please plug the device in and trust this computer before proceeding"
|
||||
exit
|
||||
elif [ $HardwareModel == iPad2,1 ] || [ $HardwareModel == iPad2,4 ] || [ $HardwareModel == iPad2,5 ] || [ $HardwareModel == iPad3,1 ] || [ $HardwareModel == iPad3,4 ] || [ $HardwareModel == iPod5,1 ]
|
||||
then
|
||||
|
@ -6,7 +6,7 @@ function ubuntu {
|
||||
}
|
||||
|
||||
function arch {
|
||||
sudo pacman -Sy --noconfirm bsdiff libcurl-compat libpng12 libzip openssl-1.0 usbmuxd usbutils
|
||||
sudo pacman -Sy --noconfirm bsdiff curl libcurl-compat libpng12 libzip openssl-1.0 usbmuxd usbutils
|
||||
sudo ln -sf /usr/lib/libzip.so.5 /usr/lib/libzip.so.4
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user