Skip to content

Commit

Permalink
An update
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Sep 10, 2024
1 parent ba24b6b commit 984f8ed
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
- [**Debian**](https://www.debian.org/) 12 Bookworm and newer, Sid, and Debian-based distros
- [**openSUSE**](https://www.opensuse.org/) Tumbleweed
- [**Gentoo**](https://www.gentoo.org/) and Gentoo-based distros
- **macOS** 10.11 and newer (10.13/10.15 and newer recommended)
- **macOS** 10.11 and newer (10.12 and newer recommended)

## Tools and other stuff used
- curl
Expand Down
35 changes: 15 additions & 20 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4635,12 +4635,13 @@ restore_futurerestore() {
perl -pi -e 's/nightly/nightlo/' $futurerestore2 # disable update check for now since it segfaults
chmod +x $futurerestore2
if [[ $platform == "macos" ]]; then
if [[ ! -e ../saved/ldid_$platform ]]; then
ldid="../saved/ldid_${platform}_${platform_arch}"
if [[ ! -e $ldid ]]; then
download_file https://github.com/ProcursusTeam/ldid/releases/download/v2.1.5-procursus7/ldid_macosx_$platform_arch ldid
chmod +x ldid
mv ldid ../saved/ldid_$platform
mv ldid $ldid
fi
../saved/ldid_$platform -S $futurerestore2
$ldid -S $futurerestore2
fi
echo "$fr_latest" > ${futurerestore2}_version
fi
Expand Down Expand Up @@ -5023,23 +5024,12 @@ ipsw_prepare() {
fi
;;

7 )
# A7 devices 10.3.3
if [[ $device_target_other != 1 && $device_target_vers == "10.3.3" ]]; then
if [[ $mac_cocoa == 1 ]]; then
restore_usepwndfu64=1
return
fi
restore_usepwndfu64_option
if [[ $restore_usepwndfu64 != 1 ]]; then
ipsw_prepare_1033
fi
else
restore_usepwndfu64_option
[789] | 10 )
restore_usepwndfu64_option
if [[ $device_target_other != 1 && $device_target_vers == "10.3.3" && $restore_usepwndfu64 != 1 ]]; then
ipsw_prepare_1033
fi
;;

[89] | 10 ) restore_usepwndfu64_option;;
esac
}

Expand Down Expand Up @@ -6350,10 +6340,10 @@ menu_ipa() {
if [[ $platform == "macos" ]]; then
echo
warn "\"Sideload IPA\" is currently not supported on macOS."
print "* Use Sideloadly or AltServer instead for now."
print "* Use Sideloadly or AltServer instead for this."
print "* You also might be looking for the \"Install IPA (AppSync)\" option instead."
pause
back=1
break
fi
fi
echo
Expand Down Expand Up @@ -6689,6 +6679,11 @@ menu_restore() {
esac
if [[ $platform == "macos" ]] && (( device_proc >= 7 )); then
print "* Note: Restoring to latest iOS for 64-bit devices is not supported on macOS, use iTunes/Finder instead for that"
if [[ $mac_cocoa == 1 ]]; then
warn "Restoring 64-bit devices is broken on OS X 10.11 El Capitan. Use macOS 10.12 Sierra or newer for this."
pause
break
fi
echo
fi
input "Select an option:"
Expand Down

0 comments on commit 984f8ed

Please sign in to comment.