mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:35:08 +00:00
UI: Restart client in 3 seconds
This commit is contained in:
parent
18aa8fafbc
commit
2f0f454ce7
@ -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());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user