-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathInstall.bat
53 lines (47 loc) · 1.33 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
53
@echo off
:TNMENU
cls
color 3
echo -------------------------------------------------------------------------
echo - 地牛Wake UP!連動 Discord-Webhook-EEW (套件安裝)
echo - By.Eric101201 , ChocoMing
echo -
echo - 1.開始安裝 Start Install
echo - 0.離開 Exit
echo -------------------------------------------------------------------------
set choice=
set /p choice= 請輸入數字 :
if '%choice%'=='1' goto ST
if '%choice%'=='0' goto OEND
echo "%choice%" is not vaild, try again
goto TNMENU
:ST
cls
echo - 安裝discord_webhook套件中。
pip install discord_webhook
echo - 安裝完成。
echo - 安裝dotenv套件中。
pip install python-dotenv
echo - 安裝完成。
echo - By.Eric101201 , ChocoMing
timeout /t 5
goto OEND
:OEND
color c
cls
echo -------------------------------------------------------------------------
echo - 地牛Wake UP!連動 Discord-Webhook-EEW (套件安裝)
echo - By.Eric101201 , ChocoMing
echo -
echo - 確定離開? Sure Leave?
echo -
echo - 1.取消 Cancel
echo - 0.離開 Exit
echo -------------------------------------------------------------------------
set choice=
set /p choice= 請輸入數字 :
if '%choice%'=='1' goto TNMENU
if '%choice%'=='0' goto END
echo "%choice%" is not vaild, try again
goto OEND
:END