mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Also detect limd and irecovery from MacPorts
This commit is contained in:
parent
fd702d9f92
commit
26f7375f88
@ -86,8 +86,10 @@
|
||||
- **IPSW file integrity** will be verified before restoring and/or creating custom IPSW (if custom IPSW is already created, this will be skipped)
|
||||
- **For users having issues with missing libraries/tools:** Re-install dependencies with `./restore.sh Install`
|
||||
- Alternatively, delete the `libimobiledevice` folder in `resources` then run the script again
|
||||
- macOS users may have to install libimobiledevice and libirecovery from [Homebrew](https://brew.sh/) with this command: `brew install libimobiledevice libirecovery`
|
||||
- The script will detect this automatically and will use the Homebrew versions of the tools
|
||||
- macOS users may have to install libimobiledevice and libirecovery from [Homebrew](https://brew.sh/) or [MacPorts](https://www.macports.org/)
|
||||
- For Homebrew: `brew install libimobiledevice libirecovery`
|
||||
- For MacPorts: `sudo port install libimobiledevice libirecovery`
|
||||
- The script will detect this automatically and will use the Homebrew/MacPorts versions of the tools
|
||||
- **For A7 devices:**
|
||||
- Do not use USB-C to lightning cables as this can prevent a successful restore
|
||||
- ipwndfu is unfortunately very unreliable on Linux, you may have to try multiple times (Linux users may also try in a live USB)
|
||||
|
@ -27,6 +27,9 @@ SetToolPaths() {
|
||||
elif [[ -e /opt/homebrew/bin/idevicedate && -e /opt/homebrew/bin/irecovery ]]; then
|
||||
Log "Detected libimobiledevice and libirecovery installed from Homebrew (Apple Silicon)"
|
||||
MPath="/opt/homebrew/bin"
|
||||
elif [[ -e /opt/local/bin/idevicedate && -e /opt/local/bin/irecovery ]]; then
|
||||
Log "Detected libimobiledevice and libirecovery installed from MacPorts"
|
||||
MPath="/opt/local/bin"
|
||||
fi
|
||||
|
||||
bspatch="/usr/bin/bspatch"
|
||||
|
Loading…
Reference in New Issue
Block a user