mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Fix tool extracting and color output on Windows
This commit is contained in:
parent
c3c20128b2
commit
bacb2fdf19
@ -1,7 +1,7 @@
|
||||
# iOS-OTA-Downgrader
|
||||
### Downgrade/restore and jailbreak iOS devices to signed OTA firmwares
|
||||
- **Linux, macOS, and Windows** are supported
|
||||
- Windows support is limited. [MSYS2](https://www.msys2.org/#installation) and iTunes 64-bit are required. To run the script, click `restore.cmd`.
|
||||
- Windows support is limited. [MSYS2](https://www.msys2.org/#installation) and iTunes 64-bit are required. To run the script, click `restore.cmd`
|
||||
- Windows users can also create a Linux live USB (see Requirements)
|
||||
- iOS 8.4.1 and 6.1.3 downgrades have the option to **jailbreak** the install
|
||||
- For iOS 10.3.3, use [TotallyNotSpyware](https://totally-not.spyware.lol) or [sockH3lix](https://github.com/SongXiaoXi/sockH3lix) to jailbreak
|
||||
|
@ -166,7 +166,7 @@ InstallDepends() {
|
||||
Log "Downloading Windows tools..."
|
||||
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_win.zip tools_win.zip a7de26af8f2e94ebd44f5080d973c03035cf91f8
|
||||
Log "Extracting Windows tools..."
|
||||
unzip -fq tools_win.zip -d ../resources/tools
|
||||
unzip -oq tools_win.zip -d ../resources/tools
|
||||
libimobiledevice=("https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice_win.zip" "669dec0d0c257066f22a0664dcef2f58cebbcadf")
|
||||
|
||||
else
|
||||
|
@ -10,6 +10,7 @@ cd "$(dirname $0)"
|
||||
. ./resources/ipsw.sh
|
||||
|
||||
if [[ $1 != "NoColor" && $2 != "NoColor" ]]; then
|
||||
TERM=xterm-256color
|
||||
Color_R=$(tput setaf 9)
|
||||
Color_G=$(tput setaf 10)
|
||||
Color_B=$(tput setaf 12)
|
||||
|
Loading…
Reference in New Issue
Block a user