mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
powder do not add freeze tar on 8.x/9.x
This commit is contained in:
parent
6117669299
commit
a266c90b29
19
restore.sh
19
restore.sh
@ -2387,8 +2387,8 @@ ipsw_prepare_bundle() {
|
|||||||
elif [[ $1 == "target" ]]; then
|
elif [[ $1 == "target" ]]; then
|
||||||
if [[ $ipsw_jailbreak == 1 ]]; then
|
if [[ $ipsw_jailbreak == 1 ]]; then
|
||||||
case $vers in
|
case $vers in
|
||||||
[4567]* ) ipsw_prepare_config false true;;
|
[89]* ) ipsw_prepare_config true true;;
|
||||||
* ) ipsw_prepare_config true true;;
|
* ) ipsw_prepare_config false true;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
ipsw_prepare_config false true
|
ipsw_prepare_config false true
|
||||||
@ -3329,13 +3329,16 @@ ipsw_prepare_powder() {
|
|||||||
|
|
||||||
if [[ $ipsw_jailbreak == 1 ]]; then
|
if [[ $ipsw_jailbreak == 1 ]]; then
|
||||||
cp $jelbrek/freeze.tar .
|
cp $jelbrek/freeze.tar .
|
||||||
ExtraArgs+=" freeze.tar "
|
|
||||||
case $device_target_vers in
|
case $device_target_vers in
|
||||||
5* ) ExtraArgs+="$jelbrek/cydiasubstrate.tar $jelbrek/g1lbertJB.tar $jelbrek/g1lbertJB/${device_type}_${device_target_build}.tar";;
|
5* ) ExtraArgs+=" $jelbrek/cydiasubstrate.tar $jelbrek/g1lbertJB.tar $jelbrek/g1lbertJB/${device_type}_${device_target_build}.tar";;
|
||||||
6.1.[34] ) ExtraArgs+="$jelbrek/p0sixspwn.tar $jelbrek/fstab_rw.tar";;
|
6.1.[34] ) ExtraArgs+=" $jelbrek/p0sixspwn.tar $jelbrek/fstab_rw.tar";;
|
||||||
6* ) ExtraArgs+="$jelbrek/evasi0n6-untether.tar $jelbrek/fstab_rw.tar";;
|
6* ) ExtraArgs+=" $jelbrek/evasi0n6-untether.tar $jelbrek/fstab_rw.tar";;
|
||||||
7.0* ) ExtraArgs+="$jelbrek/evasi0n7-untether.tar $jelbrek/fstab7.tar";;
|
7.0* ) ExtraArgs+=" $jelbrek/evasi0n7-untether.tar $jelbrek/fstab7.tar";;
|
||||||
7.1* ) ExtraArgs+="$jelbrek/panguaxe.tar $jelbrek/fstab7.tar";;
|
7.1* ) ExtraArgs+=" $jelbrek/panguaxe.tar $jelbrek/fstab7.tar";;
|
||||||
|
esac
|
||||||
|
case $device_target_vers in
|
||||||
|
[89]* ) :;;
|
||||||
|
* ) ExtraArgs+=" freeze.tar";;
|
||||||
esac
|
esac
|
||||||
if [[ $ipsw_openssh == 1 ]]; then
|
if [[ $ipsw_openssh == 1 ]]; then
|
||||||
ExtraArgs+=" $jelbrek/sshdeb.tar"
|
ExtraArgs+=" $jelbrek/sshdeb.tar"
|
||||||
|
Loading…
Reference in New Issue
Block a user