@echo off
setlocal

REM Run emoon-tongue with gssz profile (Windows)
REM Usage:
REM   script\bin\tongue-gssz-run.bat

set "ROOT=%~dp0..\.."
set "JAR=%ROOT%\emoon-tongue\target\emoon-tongue-5.4.1.jar"

if not exist "%JAR%" (
  echo [ERROR] Jar not found: "%JAR%"
  echo Please build first:
  echo   mvn -pl emoon-tongue -am clean package -DskipTests
  exit /b 1
)

echo [INFO] Starting: %JAR%
java -jar "%JAR%" --spring.profiles.active=gssz

endlocal









