From 85f285271e09f12bfb8713b01acabb76ea230157 Mon Sep 17 00:00:00 2001 From: misyaguziya Date: Thu, 26 Oct 2023 03:52:56 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B[bugfix]=20Model=20:=20remake=20res?= =?UTF-8?q?tart.bat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- batch/restart.bat | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/batch/restart.bat b/batch/restart.bat index b86be544..c3b7418f 100644 --- a/batch/restart.bat +++ b/batch/restart.bat @@ -1,4 +1,7 @@ @if not "%~0"=="%~dp0.\%~nx0" start /min cmd /c,"%~dp0.\%~nx0" %* & goto :eof -taskkill /im %1 /F -START "" %1 \ No newline at end of file +set name=%1 + +taskkill /im %name% /F + +START "" %name% \ No newline at end of file