将看板功能独立,方便独立维护功能。

This commit is contained in:
liuwei
2025-03-27 11:18:58 +08:00
parent b68ee253c9
commit 2eb4914b84

View File

@@ -1,19 +1,19 @@
@echo off @echo off
cd /d %~dp0 cd /d %~dp0
echo 正在启动WeChatRobot管理后台... echo Starting WeChatRobot Admin Dashboard...
echo [INFO] 尝试从Git更新代码... echo [INFO] Trying to update code from Git...
cd /d F:\python\WeChatRobot cd /d F:\python\WeChatRobot
git pull git pull
if %errorlevel% neq 0 ( if %errorlevel% neq 0 (
echo [WARNING] Git更新失败,继续使用当前代码... echo [WARNING] Git update failed, continuing with current code...
) else ( ) else (
echo [INFO] 代码更新成功! echo [INFO] Code updated successfully!
) )
cd /d %~dp0 echo [INFO] Installing Python dependencies...
echo [INFO] 正在安装Python依赖...
pip install -r requirements.txt pip install -r requirements.txt
cd /d %~dp0
python dashboard_start.py python dashboard_start.py
pause pause