mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Some changes
This commit is contained in:
parent
eb21e6b25a
commit
5e34ef5f94
@ -93,8 +93,7 @@ GetDeviceValues() {
|
|||||||
if [[ $ProductType == "iPad2"* || $ProductType == "iPad3,1" || $ProductType == "iPad3,2" ||
|
if [[ $ProductType == "iPad2"* || $ProductType == "iPad3,1" || $ProductType == "iPad3,2" ||
|
||||||
$ProductType == "iPad3,3" || $ProductType == "iPhone4,1" || $ProductType == "iPod5,1" ]]; then
|
$ProductType == "iPad3,3" || $ProductType == "iPhone4,1" || $ProductType == "iPod5,1" ]]; then
|
||||||
DeviceProc=5
|
DeviceProc=5
|
||||||
elif [[ $ProductType == "iPad3,4" || $ProductType == "iPad3,5" ||
|
elif [[ $ProductType == "iPhone5"* || $ProductType == "iPad3"* ]]; then
|
||||||
$ProductType == "iPad3,6" || $ProductType == "iPhone5"* ]]; then
|
|
||||||
DeviceProc=6
|
DeviceProc=6
|
||||||
elif [[ $ProductType == "iPhone6"* || $ProductType == "iPad4"* ]]; then
|
elif [[ $ProductType == "iPhone6"* || $ProductType == "iPad4"* ]]; then
|
||||||
DeviceProc=7
|
DeviceProc=7
|
||||||
|
@ -24,8 +24,7 @@ FRBaseband() {
|
|||||||
Log "Downloading baseband..."
|
Log "Downloading baseband..."
|
||||||
$partialzip $BasebandURL Firmware/$Baseband $Baseband
|
$partialzip $BasebandURL Firmware/$Baseband $Baseband
|
||||||
$partialzip $BasebandURL BuildManifest.plist BuildManifest.plist
|
$partialzip $BasebandURL BuildManifest.plist BuildManifest.plist
|
||||||
mkdir -p saved/$ProductType 2>/dev/null
|
mkdir -p saved/$ProductType saved/baseband 2>/dev/null
|
||||||
mkdir -p saved/baseband 2>/dev/null
|
|
||||||
mv $Baseband saved/baseband
|
mv $Baseband saved/baseband
|
||||||
mv BuildManifest.plist saved/$ProductType
|
mv BuildManifest.plist saved/$ProductType
|
||||||
BuildManifest="saved/$ProductType/BuildManifest.plist"
|
BuildManifest="saved/$ProductType/BuildManifest.plist"
|
||||||
|
@ -89,8 +89,8 @@ Main() {
|
|||||||
Error "Only 64-bit (x86_64) distributions are supported."
|
Error "Only 64-bit (x86_64) distributions are supported."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $1 == "Install" || ! $bspatch || ! $git || ! $ideviceinfo ||! $irecoverychk || ! $python ||
|
if [[ $1 == "Install" || ! $bspatch || ! $git ||
|
||||||
! -d ./resources/libimobiledevice_$platform ]]; then
|
! $ideviceinfo || ! $irecoverychk || ! $python ]]; then
|
||||||
Clean
|
Clean
|
||||||
InstallDepends
|
InstallDepends
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user