-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathInstalar.bat
45 lines (37 loc) · 1.12 KB
/
Instalar.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
@echo off
chcp 65001 > nul
color 0D
mode con: cols=75 lines=11
echo.
where node > nul 2>&1
if %errorlevel% equ 0 (
echo +---------------------------------------------+
echo Installing Dependencies...
echo +---------------------------------------------+
echo.
npm install colors --no-fund > nul
npm install discord.js --no-fund > nul
npm install fs --no-fund > nul
npm install math --no-fund > nul
npm install mineflayer --no-fund > nul
npm install moment --no-fund > nul
npm install dotenv --no-fund > nul
cls
color 0A
mode con: cols=65 lines=5
echo.
echo +---------------------------------------------+
echo Installation Completed!
echo +---------------------------------------------+
timeout /t 3 > nul
) else (
cls
color 0C
mode con: cols=65 lines=5
echo.
echo +------------------------------------------------------------+
echo Node.js is not installed.
echo Please install Node.js to continue.
echo +------------------------------------------------------------+
pause > nul
)