bookworm-boot/启动Bookworm-v3.bat

18 lines
418 B
Batchfile
Raw Normal View History

@echo off
setlocal
chcp 65001 > nul 2>&1
title Bookworm Smart Assistant
:: 日常启动入口: 静默更新 + 直接启动 (无需管理员权限)
set "NO_PROXY=bww.letcareme.com,code.letcareme.com,letcareme.com,localhost,127.0.0.1"
where node >nul 2>nul
if %errorlevel% equ 0 goto :RUN
echo [!!] Node.js 未安装, 请先运行 Bookworm-Install.bat
pause
exit /b 1
:RUN
node "%~dp0setup-all.js" --start
endlocal