mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 08:29:17 +01:00
Add bshsh for #585, and some other fixes
This commit is contained in:
parent
e31a6055a1
commit
d45b8d7cfd
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user