mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952
This commit is contained in:
@@ -545,6 +545,9 @@ const initKernel = (initData) => {
|
||||
cmds.push('--workspace', initDatas[0])
|
||||
cmds.push('--lang', initDatas[1])
|
||||
cmds.push("--resident", "false")
|
||||
if (isDevEnv) {
|
||||
cmds.push('--mode', 'dev')
|
||||
}
|
||||
cmd = `ui version [${appVer}], booting kernel [${kernelPath} --wd=${appDir} --workspace=${initDatas[0]} --lang=${initDatas[1]}]`
|
||||
}
|
||||
writeLog(cmd)
|
||||
|
||||
Reference in New Issue
Block a user