mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Fix
This commit is contained in:
parent
3cab3e24e1
commit
54a1cc81db
@ -149,7 +149,7 @@ function Downgrade {
|
|||||||
then
|
then
|
||||||
echo "Downloading ota.json..."
|
echo "Downloading ota.json..."
|
||||||
curl -L -# "https://api.ipsw.me/v2.1/ota.json/condensed" -o "tmp/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 ]
|
if [ $platform == macos ]
|
||||||
then
|
then
|
||||||
cp tmp/ota.json $TMPDIR
|
cp tmp/ota.json $TMPDIR
|
||||||
@ -178,13 +178,7 @@ function Downgrade {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Saving $DowngradeVersion blobs with tsschecker..."
|
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
|
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
|
|
||||||
echo
|
echo
|
||||||
if [ ! -e $(ls *.shsh2) ]
|
if [ ! -e $(ls *.shsh2) ]
|
||||||
then
|
then
|
||||||
@ -332,7 +326,7 @@ function MainMenu {
|
|||||||
|
|
||||||
if [ ! $HardwareModel ]
|
if [ ! $HardwareModel ]
|
||||||
then
|
then
|
||||||
echo "Please plug the device in before proceeding"
|
echo "Please plug the device in and trust this computer before proceeding"
|
||||||
exit
|
exit
|
||||||
elif [ $HardwareModel == iPad2,1 ] || [ $HardwareModel == iPad2,4 ] || [ $HardwareModel == iPad2,5 ] || [ $HardwareModel == iPad3,1 ] || [ $HardwareModel == iPad3,4 ] || [ $HardwareModel == iPod5,1 ]
|
elif [ $HardwareModel == iPad2,1 ] || [ $HardwareModel == iPad2,4 ] || [ $HardwareModel == iPad2,5 ] || [ $HardwareModel == iPad3,1 ] || [ $HardwareModel == iPad3,4 ] || [ $HardwareModel == iPod5,1 ]
|
||||||
then
|
then
|
||||||
|
@ -6,7 +6,7 @@ function ubuntu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function arch {
|
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
|
sudo ln -sf /usr/lib/libzip.so.5 /usr/lib/libzip.so.4
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user