-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdater.html
74 lines (69 loc) · 1.75 KB
/
updater.html
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
@echo off
:UPDATE
cls
Type "launcher.bat" | Find /I "License=5667" >NUL || (Echo No tienes la ultima version del Launcher. & goto:UPT666)
For /F "Tokens=2 Delims==" %%a in ('Type "launcher.bat" ^| Find "License=5667"') Do (echo Su menu esta actualizado...)
if not exist recovery.txt (
goto:UPT666
)
:UPT666
echo Deseas actualizar el Launcher (S/N):
echo.
set /p "upt666=>> "
if not defined upt666 goto:UPT666
if "%upt666%"=="s" goto:UPT665
if "%upt666%"=="n" goto:UPTNO
if "%upt666%"=="re" goto:RE45
if "%upt666%"=="r" goto:R45
if "%upt666%"=="p" goto:LOGO
if "%upt666%"=="vi" goto:VISIT
:UPT667
echo Entonces, deseas actualizar el Launcher (S/N):
echo.
set /p "upt667=>> "
if not defined upt667 goto:UPT667
if "%upt667%"=="s" goto:UPT665
if "%upt667%"=="n" exit
if "%upt667%"=="re" goto:RE45
if "%upt667%"=="r" goto:R45
if "%upt667%"=="p" goto:LOGO
if "%upt667%"=="vi" goto:VISIT
:UPTNO
cls
echo [0 - Recordar mas tarde]
echo [1 - No recordar nunca mas]
echo %txt11%
echo.
set /p "uptno=>> "
if not defined uptno goto:UPTNO
if "%uptno%"=="0" pause
if "%uptno%"=="1" goto:UPTNOM
if "%uptno%"=="b" goto:UPT666
if "%uptno%"=="re" goto:RE45
if "%uptno%"=="r" goto:R45
if "%uptno%"=="p" goto:LOGO
if "%uptno%"=="vi" goto:VISIT
:UPTNOM
(
echo NO
) > "recovery.txt"
:UPT665
echo Esta seguro de que quiere actualizar su Launcher (S/N):
echo.
set /p "uptyes=>> "
if not defined uptyes goto:UPT665
if "%uptyes%"=="s" pause
if "%uptyes%"=="n" goto:UPT667
if "%uptyes%"=="re" goto:RE45
if "%uptyes%"=="r" goto:R45
if "%uptyes%"=="p" goto:LOGO
if "%uptyes%"=="vi" goto:VISIT
:UPTYES
set CYGWIN
set CYGWIN=%CYGWIN%;nodosfilewarning
bin\wget --no-check-certificate -O "%TEMP%\uptlauncher.exe" dropbox.com
start "%TEMP%\uptlauncher.exe"
cls
echo Su launcher, ha sido exitosamente actualizado.
pause
exit