🎨 Wait for the new installer setup

This commit is contained in:
Daniel 2023-06-09 19:48:24 +08:00
parent 5831aea56e
commit 8b4d82e656
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -507,7 +507,7 @@ func Close(force bool, execInstallPkg int) (exitCode int) {
util.PushMsg(Conf.Language(130), 1000*5)
// 桌面端退出拉起更新安装时有时需要重启两次 https://github.com/siyuan-note/siyuan/issues/6544
// 这里多等待一段时间,等待安装程序启动
time.Sleep(4 * time.Second)
time.Sleep(5 * time.Second)
}
logging.LogInfof("exited kernel")
util.WebSocketServer.Close()