Skip to content

Commit

Permalink
Add bshsh for #585, and some other fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Oct 1, 2024
1 parent e31a605 commit d45b8d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ device_find_mode() {
done

if [[ $device_in != 1 ]]; then
if [[ $timeout != 1 && $timeout != 25 ]]; then
if [[ $timeout != 1 && $timeout != 20 ]]; then
error "Failed to find device in $mode mode (Timed out). Please run the script again."
fi
return 1
Expand Down Expand Up @@ -7569,7 +7569,7 @@ menu_shsh_browse() {
if [[ $mac_cocoa == 1 ]]; then
newpath="$($cocoadialog fileselect)"
else
newpath="$($zenity --file-selection --file-filter='SHSH | *.shsh *.shsh2' --title="Select $text SHSH file")"
newpath="$($zenity --file-selection --file-filter='SHSH | *.bshsh2 *.shsh *.shsh2' --title="Select $text SHSH file")"
fi
[[ ! -s "$newpath" ]] && read -p "$(input "Enter path to $text IPSW file (or press Ctrl+C to cancel): ")" newpath
[[ ! -s "$newpath" ]] && return
Expand Down Expand Up @@ -7788,7 +7788,7 @@ menu_other() {
menu_items+=("Activation Records")
fi
fi
if (( device_proc <= 10 )) && [[ $device_latest_vers != "16"* && $device_proc != 1 ]]; then
if (( device_proc <= 10 )) && [[ $device_latest_vers != "16"* && $device_checkm8ipad != 1 && $device_proc != 1 ]]; then
menu_items+=("SSH Ramdisk")
fi
case $device_mode in
Expand Down

0 comments on commit d45b8d7

Please sign in to comment.