-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.bat
More file actions
50 lines (40 loc) · 1.27 KB
/
run.bat
File metadata and controls
50 lines (40 loc) · 1.27 KB
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
@echo off
title bitquant Bot by @MeoMunDep
color 0A
cd %~dp0
echo Checking for bot updates...
git pull origin main > nul 2>&1
echo Bot updated!
echo Checking configuration files...
if not exist configs.json (
echo {> configs.json
echo "proxyMode": "static",>> configs.json
echo "skipInvalidProxy": false,>> configs.json
echo "delayEachAccount": [5, 8],>> configs.json
echo "timeToRestartAllAccounts": 300,>> configs.json
echo "howManyAccountsRunInOneTime": 36,>> configs.json
echo }>> configs.json
echo Created configs.json
)
(for %%F in (privateKeys.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 meo-forkcy-logger @solana/web3.js bs58
cd %~dp0
) else (
echo Installing dependencies in current directory...
CALL npm install user-agents axios meo-forkcy-colors meo-forkcy-utils meo-forkcy-proxy meo-forkcy-logger @solana/web3.js bs58
)
echo Dependencies installation completed!
echo Starting the bot...
node chat_meomundep
pause
exit