mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-02-17 08:56:22 +01:00
Update all packages on Windows MSYS2
This commit is contained in:
parent
84aa8142de
commit
4348ec5cef
@ -169,6 +169,11 @@ InstallDepends() {
|
|||||||
Echo "* Enter your user password when prompted"
|
Echo "* Enter your user password when prompted"
|
||||||
Input "Press Enter/Return to continue (or press Ctrl+C to cancel)"
|
Input "Press Enter/Return to continue (or press Ctrl+C to cancel)"
|
||||||
read -s
|
read -s
|
||||||
|
elif [[ $platform == "win" ]]; then
|
||||||
|
Echo "* iOS-OTA-Downgrader will be installing dependencies from MSYS2"
|
||||||
|
Echo "* Note that you may have to run the script more than once"
|
||||||
|
Input "Press Enter/Return to continue (or press Ctrl+C to cancel)"
|
||||||
|
read -s
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -e /etc/debian_version ]]; then
|
if [[ -e /etc/debian_version ]]; then
|
||||||
@ -214,7 +219,7 @@ InstallDepends() {
|
|||||||
Echo "* The script will detect this automatically and will use the Homebrew/MacPorts versions of the tools"
|
Echo "* The script will detect this automatically and will use the Homebrew/MacPorts versions of the tools"
|
||||||
|
|
||||||
elif [[ $platform == "win" ]]; then
|
elif [[ $platform == "win" ]]; then
|
||||||
pacman -Sy --noconfirm --needed ca-certificates curl libcurl openssh unzip zip
|
pacman -Syu --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")
|
libimobiledevice=("https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice_win.zip" "75ae3af3347b89107f0f6b7e41fde42e6ccdd404")
|
||||||
if [[ ! $(ls ../resources/tools/*win*) ]]; then
|
if [[ ! $(ls ../resources/tools/*win*) ]]; then
|
||||||
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_win.zip tools_win.zip 4436d23034e9bec1b855aabb69ae0013fec5e2cb
|
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_win.zip tools_win.zip 4436d23034e9bec1b855aabb69ae0013fec5e2cb
|
||||||
|
@ -454,6 +454,7 @@ kDFU() {
|
|||||||
Input "Press Enter/Return to continue (or press Ctrl+C to cancel)"
|
Input "Press Enter/Return to continue (or press Ctrl+C to cancel)"
|
||||||
read -s
|
read -s
|
||||||
Log "Entering kDFU mode..."
|
Log "Entering kDFU mode..."
|
||||||
|
Echo "* This may take a while."
|
||||||
$SCP -P 2222 resources/tools/$kloader tmp/pwnediBSS root@127.0.0.1:/tmp
|
$SCP -P 2222 resources/tools/$kloader tmp/pwnediBSS root@127.0.0.1:/tmp
|
||||||
if [[ $? == 0 ]]; then
|
if [[ $? == 0 ]]; then
|
||||||
$SSH -p 2222 root@127.0.0.1 "chmod +x /tmp/$kloader; /tmp/$kloader /tmp/pwnediBSS" &
|
$SSH -p 2222 root@127.0.0.1 "chmod +x /tmp/$kloader; /tmp/$kloader /tmp/pwnediBSS" &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user