19 lines
370 B
Batchfile
19 lines
370 B
Batchfile
@echo off
|
|
chcp 936 >nul
|
|
title 模拟数据控制台
|
|
cd /d "%~dp0.workbuddy\skills\测试skill"
|
|
set "PY="
|
|
py -3 -c "import sys" >nul 2>&1
|
|
if not errorlevel 1 set "PY=py -3"
|
|
if not defined PY (
|
|
python -c "import sys" >nul 2>&1
|
|
if not errorlevel 1 set "PY=python"
|
|
)
|
|
if not defined PY (
|
|
echo 没有找到可用的 Python。
|
|
pause
|
|
exit /b 1
|
|
)
|
|
"%PY%" panel_server.py
|
|
pause
|