Merge branch 'bugfix_restart' into develop

This commit is contained in:
misyaguziya
2024-05-23 23:44:24 +09:00
2 changed files with 6 additions and 6 deletions

View File

@@ -5,5 +5,5 @@ set local_path=%~dp0
taskkill /im %name% /F
ping -n 2 127.0.0.1 > nul
START "" %local_path%%name%
START "" "%local_path%%name%"
del /f "%~dp0%~nx0"

View File

@@ -8,13 +8,13 @@ set local_path=%~dp0
taskkill /im %exe_name% /F
ping -n 2 127.0.0.1 > nul
del /f %local_path%%exe_name%
rmdir /s /q %local_path%%folder_name%
xcopy %local_path%%folder_tmp% %local_path% /E /I
rmdir /s /q %local_path%%folder_tmp%
del /f "%local_path%%exe_name%"
rmdir /s /q "%local_path%%folder_name%"
xcopy "%local_path%%folder_tmp%" "%local_path%" /E /I
rmdir /s /q "%local_path%%folder_tmp%"
if %restart% == True (
START "" %local_path%%exe_name%
START "" "%local_path%%exe_name%"
)
del /f "%~dp0%~nx0"