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