mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 18:34:14 +01:00
An update
This commit is contained in:
parent
b46c09586f
commit
2c72bd959f
Binary file not shown.
@ -2086,7 +2086,7 @@ ipsw_prepare_bundle() {
|
|||||||
echo -e "<key>RootFilesystemSize</key><integer>$RootSize</integer>" >> $NewPlist
|
echo -e "<key>RootFilesystemSize</key><integer>$RootSize</integer>" >> $NewPlist
|
||||||
printf "<key>RamdiskOptionsPath</key><string>/usr/local/share/restore/options" >> $NewPlist
|
printf "<key>RamdiskOptionsPath</key><string>/usr/local/share/restore/options" >> $NewPlist
|
||||||
if [[ $device_target_vers != "3"* && $device_target_vers != "4"* ]]; then
|
if [[ $device_target_vers != "3"* && $device_target_vers != "4"* ]]; then
|
||||||
printf ".$device_model" >> $NewPlist
|
printf ".%s" "$device_model" >> $NewPlist
|
||||||
fi
|
fi
|
||||||
echo -e ".plist</string>" >> $NewPlist
|
echo -e ".plist</string>" >> $NewPlist
|
||||||
echo -e "<key>SHA256</key><string>$IPSWSHA256</string>" >> $NewPlist
|
echo -e "<key>SHA256</key><string>$IPSWSHA256</string>" >> $NewPlist
|
||||||
@ -2287,9 +2287,7 @@ patch_iboot() {
|
|||||||
ipsw_prepare_ios4powder() {
|
ipsw_prepare_ios4powder() {
|
||||||
local ExtraArgs="-apticket $shsh_path"
|
local ExtraArgs="-apticket $shsh_path"
|
||||||
local ExtraArgs2="--boot-partition --boot-ramdisk --logo4 "
|
local ExtraArgs2="--boot-partition --boot-ramdisk --logo4 "
|
||||||
local IV
|
|
||||||
local JBFiles=()
|
local JBFiles=()
|
||||||
local Key
|
|
||||||
|
|
||||||
if [[ -e "$ipsw_custom.ipsw" ]]; then
|
if [[ -e "$ipsw_custom.ipsw" ]]; then
|
||||||
log "Found existing Custom IPSW. Skipping IPSW creation."
|
log "Found existing Custom IPSW. Skipping IPSW creation."
|
||||||
@ -4731,7 +4729,7 @@ main() {
|
|||||||
"208.67.222.222")
|
"208.67.222.222")
|
||||||
local check
|
local check
|
||||||
for i in "${try[@]}"; do
|
for i in "${try[@]}"; do
|
||||||
ping -c1 $try >/dev/null
|
ping -c1 $i >/dev/null
|
||||||
check=$?
|
check=$?
|
||||||
if [[ $check == 0 ]]; then
|
if [[ $check == 0 ]]; then
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user