An update

This commit is contained in:
LukeeGD 2024-09-10 22:34:40 +08:00
parent ba24b6b86b
commit 984f8edefe
2 changed files with 16 additions and 21 deletions

View File

@ -126,7 +126,7 @@
- [**Debian**](https://www.debian.org/) 12 Bookworm and newer, Sid, and Debian-based distros - [**Debian**](https://www.debian.org/) 12 Bookworm and newer, Sid, and Debian-based distros
- [**openSUSE**](https://www.opensuse.org/) Tumbleweed - [**openSUSE**](https://www.opensuse.org/) Tumbleweed
- [**Gentoo**](https://www.gentoo.org/) and Gentoo-based distros - [**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 ## Tools and other stuff used
- curl - curl

View File

@ -4635,12 +4635,13 @@ restore_futurerestore() {
perl -pi -e 's/nightly/nightlo/' $futurerestore2 # disable update check for now since it segfaults perl -pi -e 's/nightly/nightlo/' $futurerestore2 # disable update check for now since it segfaults
chmod +x $futurerestore2 chmod +x $futurerestore2
if [[ $platform == "macos" ]]; then 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 download_file https://github.com/ProcursusTeam/ldid/releases/download/v2.1.5-procursus7/ldid_macosx_$platform_arch ldid
chmod +x ldid chmod +x ldid
mv ldid ../saved/ldid_$platform mv ldid $ldid
fi fi
../saved/ldid_$platform -S $futurerestore2 $ldid -S $futurerestore2
fi fi
echo "$fr_latest" > ${futurerestore2}_version echo "$fr_latest" > ${futurerestore2}_version
fi fi
@ -5023,23 +5024,12 @@ ipsw_prepare() {
fi fi
;; ;;
7 ) [789] | 10 )
# 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 restore_usepwndfu64_option
if [[ $restore_usepwndfu64 != 1 ]]; then if [[ $device_target_other != 1 && $device_target_vers == "10.3.3" && $restore_usepwndfu64 != 1 ]]; then
ipsw_prepare_1033 ipsw_prepare_1033
fi fi
else
restore_usepwndfu64_option
fi
;; ;;
[89] | 10 ) restore_usepwndfu64_option;;
esac esac
} }
@ -6350,10 +6340,10 @@ menu_ipa() {
if [[ $platform == "macos" ]]; then if [[ $platform == "macos" ]]; then
echo echo
warn "\"Sideload IPA\" is currently not supported on macOS." 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." print "* You also might be looking for the \"Install IPA (AppSync)\" option instead."
pause pause
back=1 break
fi fi
fi fi
echo echo
@ -6689,6 +6679,11 @@ menu_restore() {
esac esac
if [[ $platform == "macos" ]] && (( device_proc >= 7 )); then 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" 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 echo
fi fi
input "Select an option:" input "Select an option:"