Browse Source

bat 文件更新

jiangjy 1 month ago
parent
commit
02da1a96a8
1 changed files with 10 additions and 11 deletions
  1. 10 11
      Furnace/FurnaceRT/Config/Bats/startFurnace.bat

+ 10 - 11
Furnace/FurnaceRT/Config/Bats/startFurnace.bat

@@ -2,28 +2,27 @@
 
 setlocal enabledelayedexpansion
 
-:: 检查并终止FurnaceUI进程
-tasklist /fi "imagename eq FurnaceUI.exe" 2>nul | find /i "FurnaceUI.exe" >nul
+tasklist /fi "imagename eq FurnaceRT.exe" 2>nul | find /i "FurnaceRT.exe" >nul
 if %errorlevel%==0 (
 
-    taskkill /f /im FurnaceUI.exe
+    taskkill /f /im FurnaceRT.exe
 ) else (
-    echo 未找到FurnaceUI进程。
+    echo 未找到FurnaceRT进程。
 )
 
-:: 检查并终止FurnaceRT进程
-tasklist /fi "imagename eq FurnaceRT.exe" 2>nul | find /i "FurnaceRT.exe" >nul
+
+tasklist /fi "imagename eq FurnaceUI.exe" 2>nul | find /i "FurnaceUI.exe" >nul
 if %errorlevel%==0 (
- 
-    taskkill /f /im FurnaceRT.exe
+
+    taskkill /f /im FurnaceUI.exe
 ) else (
-    echo 未找到FurnaceRT进程。
+    echo 未找到FurnaceUI进程。
 )
 
-:: 检查并终止FurnaceGasPanelUI进程
+
 tasklist /fi "imagename eq FurnaceGasPanelUI.exe" 2>nul | find /i "FurnaceGasPanelUI.exe" >nul
 if %errorlevel%==0 (
-    
+
     taskkill /f /im FurnaceGasPanelUI.exe
 ) else (
     echo 未找到FurnaceGasPanelUI进程。