mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952
This commit is contained in:
parent
6e92eb6330
commit
bf2c4bbe7e
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue