mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-25 15:51:50 +01:00
Update restore.sh
This commit is contained in:
parent
56443264b2
commit
c1c9f7522c
@ -145,7 +145,7 @@ set_tool_paths() {
|
|||||||
fi
|
fi
|
||||||
elif [[ -e /etc/debian_version ]]; then
|
elif [[ -e /etc/debian_version ]]; then
|
||||||
debian_ver=$(cat /etc/debian_version)
|
debian_ver=$(cat /etc/debian_version)
|
||||||
if [[ $debian_ver == *"sid" ]]; then
|
if [[ $debian_ver == *"sid" || $debian_ver == "kali"* ]]; then
|
||||||
debian_ver="sid"
|
debian_ver="sid"
|
||||||
else
|
else
|
||||||
debian_ver="$(echo "$debian_ver" | cut -c -2)"
|
debian_ver="$(echo "$debian_ver" | cut -c -2)"
|
||||||
@ -2147,9 +2147,7 @@ ipsw_prepare_jailbreak() {
|
|||||||
if [[ $ipsw_memory == 1 ]]; then
|
if [[ $ipsw_memory == 1 ]]; then
|
||||||
ExtraArgs+=" -memory"
|
ExtraArgs+=" -memory"
|
||||||
fi
|
fi
|
||||||
if [[ $device_target_vers == "3"* || $device_proc == 1 ]]; then
|
ExtraArgs+=" -ramdiskgrow 10"
|
||||||
ExtraArgs+=" -ramdiskgrow 10"
|
|
||||||
fi
|
|
||||||
if [[ $device_use_bb != 0 && $device_type != "$device_disable_bbupdate" ]]; then
|
if [[ $device_use_bb != 0 && $device_type != "$device_disable_bbupdate" ]]; then
|
||||||
ExtraArgs+=" -bbupdate"
|
ExtraArgs+=" -bbupdate"
|
||||||
elif [[ $device_type == "$device_disable_bbupdate" && $device_type == "iPhone"* ]]; then
|
elif [[ $device_type == "$device_disable_bbupdate" && $device_type == "iPhone"* ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user