🐛[bugfix] installer : update処理のパスを修正

This commit is contained in:
misyaguziya
2023-11-01 06:00:51 +09:00
parent 9951398c36
commit 2f27ae3464
3 changed files with 15 additions and 12 deletions

View File

@@ -1,8 +1,9 @@
@if not "%~0"=="%~dp0.\%~nx0" start /min cmd /c,"%~dp0.\%~nx0" %* & goto :eof
set name=%1
set path=%~dp0
set local_path=%~dp0
taskkill /im %name% /F
START "" %path%/%name%
ping -n 2 127.0.0.1 > nul
START "" %local_path%%name%
del /f "%~dp0%~nx0"