-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTOV Launcher.bat
103 lines (94 loc) · 2.17 KB
/
TOV Launcher.bat
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
@echo off
title The Oldest View
color a
goto updatelinks
:updatelinks
powershell -Command Invoke-WebRequest https://raw.githubusercontent.com/LuGB18/TOV-Launcher/main/update.tovf -Outfile update.tovf
if exist update.tovf goto loadlinks
if exist tov.ini goto loadtovini
goto error1
:error1
title TOV - File not found Error (1)
echo ---------Error(1)-------------------------------
echo - File (update.tovf) or (tov.ini) not Found! -
echo ------------------------------------------------
echo.
echo.
echo.
echo.
pause
exit
:loadtovini
< tov.ini (
set /p version=
set /p channel=
set /p video1=
set /p video2=
set /p video3=
set /p video4=
)
cls
goto welcome
:loadlinks
echo Updating Links...
echo ------------------------------
echo - Update -
echo - The Oldest View -
echo ------------------------------
echo.
echo.
echo.
< update.tovf (
set /p version=
set /p channel=
set /p video1=
set /p video2=
set /p video3=
set /p video4=
)
echo New Channel Link: %channel%
echo New TOV - Renewal Link: %video1%
echo New TOV - BTE Link: %video2%
echo New TOV - Rolling Giant Link: %video3%
echo New TOV - Life of a Giant Link: %video4%
echo ---------Erasing Update File.-----------
ERASE /f /q update.tovf
echo -------------Creating...----------------
(
echo %version%
echo %channel%
echo %video1%
echo %video2%
echo %video3%
echo %video4%
) > tov.ini
echo --------tov.ini File Updated!-------
echo DONT ERASE THE TOV.INI FILE!
echo.
echo.
pause>null
erase /f /q null
goto welcome
:welcome
cls
echo Made By Luan
echo Version: %version%
echo ------------------------------
echo - The Oldest View Launcher -
echo ------------------------------
echo.
echo (1) The Oldest View - Renewal
echo (2) The Oldest View - Beneath the Earth
echo (3) The Oldest View - Rolling Giant
echo (4) The Oldest View - Life of a Giant
echo (5) Visit Channel (Kane Pixels)
echo.
choice /c 12345
cls
if %errorlevel% equ 1 start %video1%
if %errorlevel% equ 2 start %video2%
if %errorlevel% equ 3 start %video3%
if %errorlevel% equ 4 start %video4%
if %errorlevel% equ 5 start %channel%
cls
goto welcome