UI: Update: Show minimized console window of restarting client (for Windows 7 x64)

This commit is contained in:
Nodir Temirkhodjaev 2024-07-11 12:42:01 +05:00
parent 41696ac547
commit 41bb0bd2dd

View File

@ -208,7 +208,7 @@ void OsUtil::restartClient()
QString command;
if (FileUtil::fileExists("restart.bat")) {
command = "restart.bat";
command = "start /min cmd /c restart.bat";
} else {
command = QString("ping -n 4 127.0.0.1 >NUL"
" & if not exist inst.tmp start %1 --launch")