🎨 改进某些网络环境下无法启动 Fix https://github.com/siyuan-note/siyuan/issues/6716

This commit is contained in:
Liang Ding 2022-11-25 20:38:32 +08:00
parent 692c90f4e4
commit aa90c692c9
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D

View File

@ -605,9 +605,8 @@ const initKernel = (initData) => {
} finally {
count++
if (64 < count) {
writeLog('get kernel port failed [pid=' + kernelProcessPid + ']')
bootWindow.destroy()
resolve(false)
writeLog('get kernel port failed [pid=' + kernelProcessPid + '], try to use 6806')
return kernelPort
}
}
}