Fix issues with just boot

fixes #628
This commit is contained in:
LukeeGD 2024-11-25 07:20:16 +08:00
parent 8f309aa8b3
commit 219d994da1

View File

@ -8144,6 +8144,9 @@ menu_other() {
if [[ $device_mode == "Normal" ]]; then if [[ $device_mode == "Normal" ]]; then
menu_items+=("Enter kDFU Mode") menu_items+=("Enter kDFU Mode")
fi fi
#if [[ $device_type != "iPod2,1" ]]; then
# menu_items+=("Just Boot")
#fi
case $device_proc in case $device_proc in
[56] ) menu_items+=("Send Pwned iBSS");; [56] ) menu_items+=("Send Pwned iBSS");;
* ) menu_items+=("Enter pwnDFU Mode");; * ) menu_items+=("Enter pwnDFU Mode");;
@ -8851,8 +8854,10 @@ menu_justboot() {
menu_ipsw_browse menu_ipsw_browse
ipsw_justboot_path="$ipsw_path" ipsw_justboot_path="$ipsw_path"
vers="$device_target_build" vers="$device_target_build"
device_rd_build="$vers"
;; ;;
"Custom Bootargs" ) read -p "$(input 'Enter custom bootargs: ')" device_justboot_bootargs;; "Custom Bootargs" ) read -p "$(input 'Enter custom bootargs: ')" device_justboot_bootargs;;
"Just Boot" ) mode="device_justboot";;
"Go Back" ) back=1;; "Go Back" ) back=1;;
esac esac
done done