mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-17 01:21:14 +08:00
♻️ 桌面端内核进程端口号写入文件 port.json
https://github.com/siyuan-note/siyuan/issues/6337
This commit is contained in:
parent
ec008b2fee
commit
1c03d11f2b
@ -602,6 +602,10 @@ const initKernel = (initData) => {
|
||||
}
|
||||
|
||||
const getKernelPort = async () => {
|
||||
if (isDevEnv) {
|
||||
return kernelPort
|
||||
}
|
||||
|
||||
await sleep(200)
|
||||
let gotPort = false
|
||||
let count = 0
|
||||
|
Loading…
Reference in New Issue
Block a user