mirror of https://github.com/Mai-with-u/MaiBot.git
commit
808627213a
10
run.bat
10
run.bat
|
|
@ -1,6 +1,10 @@
|
|||
@ECHO OFF
|
||||
chcp 65001
|
||||
python -m venv venv
|
||||
call venv\Scripts\activate.bat
|
||||
pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --upgrade -r requirements.txt
|
||||
if not exist "venv" (
|
||||
python -m venv venv
|
||||
call venv\Scripts\activate.bat
|
||||
pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --upgrade -r requirements.txt
|
||||
) else (
|
||||
call venv\Scripts\activate.bat
|
||||
)
|
||||
python run.py
|
||||
Loading…
Reference in New Issue