This commit is contained in:
yinsx
2025-12-13 15:40:01 +08:00
commit 39c0f7e708
104 changed files with 6460 additions and 0 deletions

11
run.bat Normal file
View File

@ -0,0 +1,11 @@
@echo off
echo 启动开发环境: Client (Vite) + Server (Bun)...
:: %~dp0 是一个特殊变量,代表当前 .bat 文件所在的文件夹路径
:: 这使得此脚本可以被移动,只要它和 client/server 文件夹保持相对位置不变
set "CLIENT_DIR=%~dp0client-threejs"
set "SERVER_DIR=%~dp0server"
:: 使用 -d 参数指定每个标签页的工作目录
wt.exe --title "Client" -d "%CLIENT_DIR%" powershell -NoExit -Command "vite --host" ; new-tab --title "Server" -d "%SERVER_DIR%" powershell -NoExit -Command "bun run index.ts"