This repository has been archived by the owner on Apr 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.bat
76 lines (71 loc) · 1.52 KB
/
run.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
@echo off
goto set
:set
cls
title Run Rutap Bot 2019 - Preparing
chcp 65001
color 0b
goto main
:main
cls
title Run Rutap Bot 2019 - Main
echo.
echo 1. Module Insatll OR Update
echo 2. Run Rutap Bot 2019
echo 3. Exit
echo.
set /p b=Input a number and press Enter. :
if %b% == 1 goto Module_Install
if %b% == 2 goto Run
if %b% == 3 goto out
:out
exit
:Module_Install
cls
title Run Rutap Bot 2019 - Please check this!
echo If you have Python 3.6 and you run this file as an administrator, press Enter.
pause
cls
title Run Rutap Bot 2019 - Module Install OR Update
echo.
echo ==============================
echo Please Wait...
echo ==============================
echo.
cd %USERPROFILE%\AppData\Local\pip
del /f /s /q cache > NUL
python -m pip install --upgrade pip
python -m pip install -U discord.py
python -m pip install datetime
python -m pip install numpy
python -m pip install pillow
python -m pip install psutil
python -m pip install pymysql
python -m pip install requests
python -m pip install beautifulsoup4
python -m pip install oauth2
python -m pip install pycryptodome
python -m pip install hurry.filesize
echo.
echo ==============================
echo Press Enter to return to Main.
echo ==============================
echo.
pause
goto main
:Run
cls
title Run Rutap Bot 2019 - run rutap.py
echo.
echo ==============================
echo Please Wait...
echo ==============================
echo.
python rutap.py
echo.
echo ==============================
echo Press Enter to return to Main.
echo ==============================
echo.
pause
goto set