mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-28 09:11:49 +01:00
Name custom IPSW depending on jailbreak tool
CustomD for daibutsu, CustomE for EtasonJB
This commit is contained in:
parent
b6d450a323
commit
0aba782eab
@ -82,7 +82,7 @@ Downgrade() {
|
||||
|
||||
if [[ $OSVer != "Other" ]]; then
|
||||
IPSW="${IPSWType}_${OSVer}_${BuildVer}_Restore"
|
||||
IPSWCustom="${IPSWType}_${OSVer}_${BuildVer}_Custom"
|
||||
[[ -z $IPSWCustom ]] && IPSWCustom="${IPSWType}_${OSVer}_${BuildVer}_Custom"
|
||||
|
||||
if [[ $Jailbreak == 1 ]]; then
|
||||
[[ -e "$IPSWCustom.ipsw" ]] && Verify=
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
JailbreakSet() {
|
||||
Jailbreak=1
|
||||
IPSWCustom="${IPSWType}_${OSVer}_${BuildVer}_Custom"
|
||||
if [[ $ProductType == "iPhone4,1" || $ProductType == "iPhone5,2" ]] && [[ $OSVer == "8.4.1" ]]; then
|
||||
Input "Jailbreak Tool Option"
|
||||
Echo "* This option is set to daibutsu by default (1)."
|
||||
@ -21,8 +22,10 @@ JailbreakSet() {
|
||||
|
||||
if [[ $JBDaibutsu == 1 ]]; then
|
||||
JBName="daibutsu"
|
||||
IPSWCustom="${IPSWCustom}D"
|
||||
elif [[ $OSVer == "8.4.1" ]]; then
|
||||
JBName="EtasonJB"
|
||||
IPSWCustom="${IPSWCustom}E"
|
||||
elif [[ $OSVer == "6.1.3" ]]; then
|
||||
JBName="p0sixspwn"
|
||||
fi
|
||||
|
@ -132,7 +132,6 @@ Main() {
|
||||
|
||||
if [[ $Mode == "IPSW32" ]]; then
|
||||
IPSW="${IPSWType}_${OSVer}_${BuildVer}_Restore"
|
||||
IPSWCustom="${IPSWType}_${OSVer}_${BuildVer}_Custom"
|
||||
Verify=1
|
||||
echo
|
||||
JailbreakSet
|
||||
|
Loading…
Reference in New Issue
Block a user