Some changes

This commit is contained in:
LukeZGD 2021-06-19 15:31:20 +08:00
parent eb21e6b25a
commit 5e34ef5f94
3 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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"

View File

@ -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