Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Limour-dev authored Nov 3, 2024
1 parent 421aba3 commit 3fe38dc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions RunPy.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@echo off
:: 将控制台代码页更改为 UTF-8
chcp 65001 > nul
:: 运行程序
if "%~1"=="" (
echo %1 是空的
start "QRJS" %USERPROFILE%\miniconda3\envs\qrjs\python.exe %CD%\server.py
) else (
echo %1 不是空的
cd /d %1
start "QRJS" %USERPROFILE%\miniconda3\envs\qrjs\python.exe %1\server.py
)
:: 等待用户按任意键继续
:: pause
exit

0 comments on commit 3fe38dc

Please sign in to comment.