From 5640c783d76823a4f6a84807e5953669cf408eeb Mon Sep 17 00:00:00 2001 From: LukeZGD Date: Sun, 29 May 2022 10:15:48 +0800 Subject: [PATCH] Remove duplicate jailbreak option --- resources/ipsw.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/resources/ipsw.sh b/resources/ipsw.sh index be5a91f..f9dd7e7 100755 --- a/resources/ipsw.sh +++ b/resources/ipsw.sh @@ -57,16 +57,6 @@ JailbreakOption() { Log "Jailbreak option disabled by user." 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" if [[ $ProductType == "iPhone3"* ]]; then [[ $Jailbreak == 1 ]] && Custom="Custom" || Custom="CustomN"