19 lines
422 B
Batchfile
19 lines
422 B
Batchfile
@echo off
|
|
cd /d %~dp0
|
|
echo Starting WeChatRobot Admin Dashboard...
|
|
|
|
echo [INFO] Trying to update code from Git...
|
|
cd /d F:\python\WeChatRobot
|
|
git pull
|
|
if %errorlevel% neq 0 (
|
|
echo [WARNING] Git update failed, continuing with current code...
|
|
) else (
|
|
echo [INFO] Code updated successfully!
|
|
)
|
|
|
|
echo [INFO] Installing Python dependencies...
|
|
pip install -r requirements.txt
|
|
|
|
cd /d %~dp0
|
|
python dashboard_start.py
|
|
pause |