-
Notifications
You must be signed in to change notification settings - Fork 0
/
update.bat
30 lines (25 loc) · 920 Bytes
/
update.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
@echo off
REM Deleting the old version of the batch file
echo Deleting old version...
del "vipers_task_killer_1.bat" > nul
REM Download the latest version of the batch file
echo Checking for updates...
powershell -command "Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/LittleYoungBlud/Process-Killer/main/vipers_task_killer_1.bat' -OutFile 'new_version.bat' -UseBasicParsing"
REM Check if there are changes
fc "vipers_task_killer_1.bat" "new_version.bat" > nul
if errorlevel 1 (
echo Installing new updated batch file...
move /y "new_version.bat" "vipers_task_killer_1.bat" > nul
REM Flash blue 3 times
for /l %%i in (1,1,3) do (
color 1F
timeout /t 1 /nobreak >nul
color 0F
timeout /t 1 /nobreak >nul
)
echo Update complete.
pause
) else (
echo You have the latest version. Check back later.
pause
)