♻️ 桌面端内核进程端口号写入文件 port.json https://github.com/siyuan-note/siyuan/issues/6337

This commit is contained in:
Liang Ding
2022-10-24 22:55:48 +08:00
parent ec008b2fee
commit 1c03d11f2b

View File

@@ -602,6 +602,10 @@ const initKernel = (initData) => {
}
const getKernelPort = async () => {
if (isDevEnv) {
return kernelPort
}
await sleep(200)
let gotPort = false
let count = 0