Files
abot/admin/dashboard_start.bat

19 lines
399 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
cd /d %~dp0
echo 正在启动WeChatRobot管理后台...
echo [INFO] 尝试从Git更新代码...
cd /d F:\python\WeChatRobot
git pull
if %errorlevel% neq 0 (
echo [WARNING] Git更新失败继续使用当前代码...
) else (
echo [INFO] 代码更新成功!
)
cd /d %~dp0
echo [INFO] 正在安装Python依赖...
pip install -r requirements.txt
python dashboard_start.py
pause