|
@@ -18,7 +18,7 @@ if %errorlevel%==0 (
|
|
|
taskkill /f /im FurnaceGasPanelUI.exe
|
|
|
)
|
|
|
|
|
|
-start .\..\FurnaceRT\FurnaceRT.exe
|
|
|
+start "" "%~dp0..\FurnaceRT\FurnaceRT.exe"
|
|
|
|
|
|
REM 检测RT是否在端口8752监听
|
|
|
:check_port
|
|
@@ -26,7 +26,7 @@ timeout /t 1 >nul
|
|
|
netstat -an | find "LISTENING" | find ":8752" >nul
|
|
|
if %errorlevel% neq 0 goto :check_port
|
|
|
|
|
|
-start .\..\FurnaceUI\FurnaceUI.exe
|
|
|
+start "" "%~dp0..\FurnaceUI\FurnaceUI.exe"
|
|
|
|
|
|
-start .\..\FurnaceGasPanelUI\FurnaceGasPanelUI.exe
|
|
|
+start "" "%~dp0..\FurnaceGasPanelUI\FurnaceGasPanelUI.exe"
|
|
|
|