forked from LukeZGD/Legacy-iOS-Kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
restore.cmd
28 lines (24 loc) · 1000 Bytes
/
restore.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@echo off
if not exist "C:\Program Files\iTunes\iTunes.exe" (
if not exist "C:\Program Files (x86)\iTunes\iTunes.exe" (
echo [Error] iTunes does not seem to be installed in C drive.
echo * Please install iTunes 12.6.5 or older before proceeding.
echo * Do not change the install location from the defaults.
echo * Read the "How to Use" wiki page in GitHub for more details.
pause >nul
exit
)
)
if not exist "C:\msys64\msys2.exe" (
echo [Error] MSYS2 does not seem to be installed in C drive.
echo * Please install MSYS2 first before proceeding.
echo * Do not change the install location from the defaults.
echo * Read the "How to Use" wiki page in GitHub for more details.
pause >nul
exit
)
C:\msys64\msys2.exe "./restore.sh"
rem Add the argument at the end of the line above if needed
rem Examples:
rem C:\msys64\msys2.exe "./restore.sh" --no-device
rem C:\msys64\msys2.exe "./restore.sh" --entry-device --no-color