mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-21 03:21:21 +08:00
♻️ 桌面端内核进程不再以游离模式拉起 https://github.com/siyuan-note/siyuan/issues/6336
This commit is contained in:
parent
915ab22b51
commit
eb168ed54c
@ -544,6 +544,7 @@ const initKernel = (initData) => {
|
||||
const initDatas = initData.split('-')
|
||||
cmds.push('--workspace', initDatas[0])
|
||||
cmds.push('--lang', initDatas[1])
|
||||
cmds.push("--resident", "false")
|
||||
cmd = `ui version [${appVer}], booting kernel [${kernelPath} --wd=${appDir} --workspace=${initDatas[0]} --lang=${initDatas[1]}]`
|
||||
}
|
||||
writeLog(cmd)
|
||||
|
@ -47,13 +47,15 @@ func logBootInfo() {
|
||||
logging.LogInfof("kernel is booting:\n"+
|
||||
" * ver [%s]\n"+
|
||||
" * arch [%s]\n"+
|
||||
" * resident [%v]\n"+
|
||||
" * pid [%d]\n"+
|
||||
" * runtime mode [%s]\n"+
|
||||
" * working directory [%s]\n"+
|
||||
" * read only [%v]\n"+
|
||||
" * container [%s]\n"+
|
||||
" * database [ver=%s]\n"+
|
||||
" * workspace directory [%s, data %s]",
|
||||
Ver, runtime.GOARCH, Mode, WorkingDir, ReadOnly, Container, DatabaseVer, WorkspaceDir, dataDirSize)
|
||||
Ver, runtime.GOARCH, Resident, os.Getpid(), Mode, WorkingDir, ReadOnly, Container, DatabaseVer, WorkspaceDir, dataDirSize)
|
||||
}
|
||||
|
||||
func IsMutexLocked(m *sync.Mutex) bool {
|
||||
|
Loading…
Reference in New Issue
Block a user