mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 18:34:14 +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
|
if [[ $OSVer != "Other" ]]; then
|
||||||
IPSW="${IPSWType}_${OSVer}_${BuildVer}_Restore"
|
IPSW="${IPSWType}_${OSVer}_${BuildVer}_Restore"
|
||||||
IPSWCustom="${IPSWType}_${OSVer}_${BuildVer}_Custom"
|
[[ -z $IPSWCustom ]] && IPSWCustom="${IPSWType}_${OSVer}_${BuildVer}_Custom"
|
||||||
|
|
||||||
if [[ $Jailbreak == 1 ]]; then
|
if [[ $Jailbreak == 1 ]]; then
|
||||||
[[ -e "$IPSWCustom.ipsw" ]] && Verify=
|
[[ -e "$IPSWCustom.ipsw" ]] && Verify=
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
JailbreakSet() {
|
JailbreakSet() {
|
||||||
Jailbreak=1
|
Jailbreak=1
|
||||||
|
IPSWCustom="${IPSWType}_${OSVer}_${BuildVer}_Custom"
|
||||||
if [[ $ProductType == "iPhone4,1" || $ProductType == "iPhone5,2" ]] && [[ $OSVer == "8.4.1" ]]; then
|
if [[ $ProductType == "iPhone4,1" || $ProductType == "iPhone5,2" ]] && [[ $OSVer == "8.4.1" ]]; then
|
||||||
Input "Jailbreak Tool Option"
|
Input "Jailbreak Tool Option"
|
||||||
Echo "* This option is set to daibutsu by default (1)."
|
Echo "* This option is set to daibutsu by default (1)."
|
||||||
@ -21,8 +22,10 @@ JailbreakSet() {
|
|||||||
|
|
||||||
if [[ $JBDaibutsu == 1 ]]; then
|
if [[ $JBDaibutsu == 1 ]]; then
|
||||||
JBName="daibutsu"
|
JBName="daibutsu"
|
||||||
|
IPSWCustom="${IPSWCustom}D"
|
||||||
elif [[ $OSVer == "8.4.1" ]]; then
|
elif [[ $OSVer == "8.4.1" ]]; then
|
||||||
JBName="EtasonJB"
|
JBName="EtasonJB"
|
||||||
|
IPSWCustom="${IPSWCustom}E"
|
||||||
elif [[ $OSVer == "6.1.3" ]]; then
|
elif [[ $OSVer == "6.1.3" ]]; then
|
||||||
JBName="p0sixspwn"
|
JBName="p0sixspwn"
|
||||||
fi
|
fi
|
||||||
|
@ -132,7 +132,6 @@ Main() {
|
|||||||
|
|
||||||
if [[ $Mode == "IPSW32" ]]; then
|
if [[ $Mode == "IPSW32" ]]; then
|
||||||
IPSW="${IPSWType}_${OSVer}_${BuildVer}_Restore"
|
IPSW="${IPSWType}_${OSVer}_${BuildVer}_Restore"
|
||||||
IPSWCustom="${IPSWType}_${OSVer}_${BuildVer}_Custom"
|
|
||||||
Verify=1
|
Verify=1
|
||||||
echo
|
echo
|
||||||
JailbreakSet
|
JailbreakSet
|
||||||
|
Loading…
Reference in New Issue
Block a user