UI: Restart client in 3 seconds

This commit is contained in:
Nodir Temirkhodjaev 2024-05-29 15:18:55 +03:00
parent 18aa8fafbc
commit 2f0f454ce7

View File

@ -193,7 +193,7 @@ void OsUtil::restartClient()
{ {
const QFileInfo fi(QCoreApplication::applicationFilePath()); const QFileInfo fi(QCoreApplication::applicationFilePath());
const auto command = QString("ping -n 3 127.0.0.1 >NUL" const auto command = QString("ping -n 4 127.0.0.1 >NUL"
" & if not exist inst.tmp start %1 --launch") " & if not exist inst.tmp start %1 --launch")
.arg(fi.fileName()); .arg(fi.fileName());