From d85c38485929f2445151f653facf83b10bbb5354 Mon Sep 17 00:00:00 2001 From: triwinds Date: Sun, 7 May 2023 15:13:50 +0800 Subject: [PATCH] ensure there is no active instance before start the new process (#41) --- module/updater.py | 1 + 1 file changed, 1 insertion(+) diff --git a/module/updater.py b/module/updater.py index 47f9fe2..76dafdf 100644 --- a/module/updater.py +++ b/module/updater.py @@ -19,6 +19,7 @@ echo 无法找到更新文件 "" pause ) else ( + taskkill /F /IM NsEmuTools* >nul 2>nul move /Y "" "" echo 启动程序 call ""