Merge branch 'bugfix_restart' into develop
This commit is contained in:
@@ -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"
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user