Merge branch 'bugfix_restart' into develop

This commit is contained in:
misyaguziya committed 2024-05-23 23:44:24 +09:00
commit 6366dc1c82
2 files changed
+6 -6

No files matched your search

+1 -1
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"
+5 -5
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"