@echo off
set "ENV_FILE=%~dp0jv-windows.local.env"
if not exist "%ENV_FILE%" (
  echo [NG] %ENV_FILE% がありません。
  echo 先に step00_first_setup.bat を実行してください。
  exit /b 1
)
for /f "usebackq eol=# tokens=1,* delims==" %%a in ("%ENV_FILE%") do (
  if not "%%a"=="" set "%%a=%%b"
)
if not defined SERVER_SSH set "SERVER_SSH=root@163.44.117.9"
if not defined SERVER_PATH set "SERVER_PATH=/var/www/html/tools.kachiumaai.com"
if not defined JVLINK_SERVER_PORT set "JVLINK_SERVER_PORT=8765"
if not defined SSH_REMOTE_PORT set "SSH_REMOTE_PORT=18765"
exit /b 0
