mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-28 01:01:50 +01:00
Fix baseband issues on Windows
This commit is contained in:
parent
7632a6c88b
commit
84aa8142de
@ -77,7 +77,7 @@
|
||||
- [**openSUSE**](https://www.opensuse.org/) Tumbleweed, Leap 15.4
|
||||
- [**Gentoo**](https://www.gentoo.org/) and Gentoo-based distros
|
||||
- **macOS** 10.13 and newer
|
||||
- **Windows** 7 and newer
|
||||
- **Windows** 8.1 and newer
|
||||
|
||||
## Tools and other stuff used
|
||||
- cURL
|
||||
|
@ -105,11 +105,9 @@ SetToolPaths() {
|
||||
fi
|
||||
elif [[ $platform == "win" ]]; then
|
||||
ping="ping -n 1"
|
||||
Log "WARNING - Using iOS-OTA-Downgrader on Windows is HIGHLY DISCOURAGED."
|
||||
Log "WARNING - Using iOS-OTA-Downgrader on Windows is not recommended."
|
||||
Echo "* Please use it on Linux or macOS instead."
|
||||
Echo "* You may still continue, but you might encounter problems with restoring the device."
|
||||
Echo "* You have been warned."
|
||||
sleep 5
|
||||
Echo "* You may still continue, but you might encounter issues with restoring the device."
|
||||
Input "Press Enter/Return to continue anyway (or press Ctrl+C to cancel)"
|
||||
read -s
|
||||
fi
|
||||
@ -216,10 +214,10 @@ InstallDepends() {
|
||||
Echo "* The script will detect this automatically and will use the Homebrew/MacPorts versions of the tools"
|
||||
|
||||
elif [[ $platform == "win" ]]; then
|
||||
pacman -Sy --noconfirm --needed ca-certificates curl openssh unzip zip
|
||||
pacman -Sy --noconfirm --needed ca-certificates curl libcurl openssh unzip zip
|
||||
libimobiledevice=("https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice_win.zip" "75ae3af3347b89107f0f6b7e41fde42e6ccdd404")
|
||||
if [[ ! $(ls ../resources/tools/*win*) ]]; then
|
||||
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_win.zip tools_win.zip b8b727b74d3bbba2093bef5a156e30cb29d6eac7
|
||||
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_win.zip tools_win.zip 4436d23034e9bec1b855aabb69ae0013fec5e2cb
|
||||
Log "Extracting Windows tools..."
|
||||
unzip -oq tools_win.zip -d ../resources
|
||||
fi
|
||||
|
@ -149,11 +149,6 @@ iDeviceRestore() {
|
||||
FRBaseband
|
||||
cp saved/baseband/$Baseband tmp/bbfw.tmp
|
||||
cp $BuildManifest tmp/
|
||||
Log "WARNING - The restore is most likely to fail on updating baseband!!"
|
||||
Echo "* This may or may not be fixed anytime soon."
|
||||
Echo "* I highly suggest to do the restore in Linux/macOS instead to avoid issues."
|
||||
Input "Press Enter/Return to continue anyway (or press Ctrl+C to cancel)"
|
||||
read -s
|
||||
fi
|
||||
Log "Running idevicere${re}store with command: $idevicerestore $ExtraArgs \"$IPSWRestore.ipsw\""
|
||||
$idevicerestore $ExtraArgs "$IPSWRestore.ipsw"
|
||||
|
Loading…
Reference in New Issue
Block a user