Skip to content

Commit

Permalink
ensure there is no active instance before start the new process (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
triwinds committed May 7, 2023
1 parent 09fd903 commit d85c384
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
echo 无法找到更新文件 "<new_exe>"
pause
) else (
taskkill /F /IM NsEmuTools* >nul 2>nul
move /Y "<new_exe>" "<target_place>"
echo 启动程序
call "<target_place>"
Expand Down

0 comments on commit d85c384

Please sign in to comment.