Remove duplicate jailbreak option

This commit is contained in:
LukeZGD 2022-05-29 10:15:48 +08:00
parent 690f7e311c
commit 5640c783d7

View File

@ -57,16 +57,6 @@ JailbreakOption() {
Log "Jailbreak option disabled by user." Log "Jailbreak option disabled by user."
fi fi
[[ -z $IPSWCustom ]] && IPSWCustom="${IPSWType}_${OSVer}_${BuildVer}_Custom"=
Echo "* This option is enabled by default (Y)."
read -p "$(Input 'Enable this option? (Y/n):')" Jailbreak
if [[ $Jailbreak != 'N' && $Jailbreak != 'n' ]]; then
JailbreakSet
Log "Jailbreak option enabled."
else
Log "Jailbreak option disabled by user."
fi
[[ -z $IPSWCustom ]] && IPSWCustom="${IPSWType}_${OSVer}_${BuildVer}_Custom" [[ -z $IPSWCustom ]] && IPSWCustom="${IPSWType}_${OSVer}_${BuildVer}_Custom"
if [[ $ProductType == "iPhone3"* ]]; then if [[ $ProductType == "iPhone3"* ]]; then
[[ $Jailbreak == 1 ]] && Custom="Custom" || Custom="CustomN" [[ $Jailbreak == 1 ]] && Custom="Custom" || Custom="CustomN"