-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.bat
More file actions
34 lines (27 loc) · 740 Bytes
/
setup.bat
File metadata and controls
34 lines (27 loc) · 740 Bytes
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
@echo off
title Cryptorank Bot by @MeoMunDep
color 0A
cd %~dp0
echo Checking configuration files...
(for %%F in (datas.txt proxies.txt) do (
if not exist %%F (
type nul > %%F
echo Created %%F
)
))
echo Configuration files checked.
echo Checking dependencies...
if exist "..\node_modules" (
echo Using node_modules from parent directory...
cd ..
CALL npm install user-agents axios meo-forkcy-colors meo-forkcy-utils meo-forkcy-proxy
cd %~dp0
) else (
echo Installing dependencies in current directory...
CALL npm install user-agents axios meo-forkcy-colors meo-forkcy-utils meo-forkcy-proxy
)
echo Dependencies installation completed!
echo Starting the bot...
node meomundep
pause
exit