mirror of https://github.com/Mai-with-u/MaiBot.git
🐛 fix(MaiLauncher.bat): 修正 `.env.prod` 复制路径和菜单输入提示
parent
26ead12dce
commit
a3ed32c6d3
|
|
@ -331,7 +331,7 @@ if not exist config/bot_config.toml (
|
||||||
|
|
||||||
)
|
)
|
||||||
if not exist .env.prod (
|
if not exist .env.prod (
|
||||||
copy /Y "template\.env.prod" ".env.prod"
|
copy /Y "template.env" ".env.prod"
|
||||||
)
|
)
|
||||||
|
|
||||||
start python webui.py
|
start python webui.py
|
||||||
|
|
@ -362,7 +362,7 @@ if "!choice!"=="5" goto learn_new_knowledge
|
||||||
if "!choice!"=="6" goto open_knowledge_folder
|
if "!choice!"=="6" goto open_knowledge_folder
|
||||||
if "!choice!"=="7" goto menu
|
if "!choice!"=="7" goto menu
|
||||||
|
|
||||||
echo 无效的输入,请输入1-6之间的数字
|
echo 无效的输入,请输入1-7之间的数字
|
||||||
timeout /t 2 >nul
|
timeout /t 2 >nul
|
||||||
goto tools_menu
|
goto tools_menu
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue