diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..cf5cffa22 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.bat text eol=crlf +*.cmd text eol=crlf \ No newline at end of file diff --git a/run_windows.bat b/run_windows.bat index 920069318..bea397ddc 100644 --- a/run_windows.bat +++ b/run_windows.bat @@ -47,12 +47,13 @@ if not exist "venv\" ( call venv\Scripts\activate.bat - echo 正在安装依赖... - pip install -r requirements.txt ) else ( call venv\Scripts\activate.bat ) +echo 正在更新依赖... +pip install -r requirements.txt + echo 当前代理设置: echo HTTP_PROXY=%HTTP_PROXY% echo HTTPS_PROXY=%HTTPS_PROXY%