Merge branch 'hideConsole' into UI_2.0

This commit is contained in:
misyaguziya
2023-10-13 22:00:19 +09:00
2 changed files with 6 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
@echo off
@if not "%~0"=="%~dp0.\%~nx0" start /min cmd /c,"%~dp0.\%~nx0" %* & goto :eof
taskkill /im %1 /F
START "" %1

View File

@@ -1,9 +1,11 @@
@if not "%~0"=="%~dp0.\%~nx0" start /min cmd /c,"%~dp0.\%~nx0" %* & goto :eof
taskkill /im %1 /F
timeout 2
ping -n 2 127.0.0.1 > nul
del /f %1
timeout 2
ping -n 2 127.0.0.1 > nul
rename %2 %1
timeout 2
ping -n 2 127.0.0.1 > nul
if %3 == True (
START "" %1
)