diff --git a/assembly/bin/supersonic-build.bat b/assembly/bin/supersonic-build.bat index a16558257..b3f9815ef 100644 --- a/assembly/bin/supersonic-build.bat +++ b/assembly/bin/supersonic-build.bat @@ -12,9 +12,7 @@ del /q "%buildDir%\*.tar.gz" 2>NUL call mvn -f "%baseDir%\..\pom.xml" clean package -DskipTests rem 2. move package to build -echo f|xcopy "%baseDir%\..\launchers\standalone\target\*.tar.gz" "%buildDir%\supersonic-standalone.tar.gz" -echo f|xcopy "%baseDir%\..\launchers\semantic\target\*.tar.gz" "%buildDir%\supersonic-semantic.tar.gz" -echo f|xcopy "%baseDir%\..\launchers\chat\target\*.tar.gz" "%buildDir%\supersonic-chat.tar.gz" +echo f|xcopy "%baseDir%\..\launchers\standalone\target\*.tar.gz" "%buildDir%\supersonic.tar.gz" rem 3. build webapp cd "%baseDir%\..\webapp" diff --git a/assembly/bin/supersonic-daemon.bat b/assembly/bin/supersonic-daemon.bat index d2615a215..d0a75005d 100644 --- a/assembly/bin/supersonic-daemon.bat +++ b/assembly/bin/supersonic-daemon.bat @@ -18,7 +18,6 @@ set "llm_host=127.0.0.1" set "llm_port=9092" set "start_name=api_service" -set "llm_path=%baseDir%\..\chat\core\src\main\python" if "%module%"=="" ( set "module=standalone" @@ -53,9 +52,10 @@ if "%command%"=="restart" ( ::1. clear file rd /s /q "%runtimeDir%" mkdir "%runtimeDir%" +set "llm_path=%runtimeDir%\supersonic-standalone\llm" if "%module%"=="llmparser" ( - tar -zxvf "%buildDir%\supersonic-standalone.tar.gz" -C "%runtimeDir%" + tar -zxvf "%buildDir%\supersonic.tar.gz" -C "%runtimeDir%" for /d %%f in ("%runtimeDir%\launchers-standalone-*") do ( move "%%f" "%runtimeDir%\supersonic-standalone" ) @@ -68,7 +68,7 @@ if "%module%"=="llmparser" ( goto :EOF ) -tar -zxvf "%buildDir%\supersonic-%module%.tar.gz" -C "%runtimeDir%" +tar -zxvf "%buildDir%\supersonic.tar.gz" -C "%runtimeDir%" for /d %%f in ("%runtimeDir%\launchers-%module%-*") do ( move "%%f" "%runtimeDir%\supersonic-%module%" )