g1lbert dont reboot on first boot if tethered

This commit is contained in:
LukeZGD 2024-01-05 13:09:46 +08:00
parent 74c7177168
commit 9675cdd395
2 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -2536,6 +2536,12 @@ ipsw_prepare_32bit() {
if [[ $ipsw_openssh == 1 ]]; then
JBFiles+=("$jelbrek/sshdeb.tar")
fi
if [[ $device_target_tethered == 1 ]]; then
case $device_target_vers in
4.2.1 ) :;;
5* | 4.3* | 4.2* ) JBFiles+=("$jelbrek/g1lbertJB/install.tar");;
esac
fi
fi
log "Preparing custom IPSW: $dir/powdersn0w $ipsw_path.ipsw temp.ipsw $ExtraArgs ${JBFiles[*]}"
"$dir/powdersn0w" "$ipsw_path.ipsw" temp.ipsw $ExtraArgs ${JBFiles[@]}