mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
🎨 桌面端支持同时打开多个工作空间 https://github.com/siyuan-note/siyuan/issues/4567
This commit is contained in:
parent
8ae50cdd56
commit
a2a0054dcc
1 changed files with 10 additions and 0 deletions
|
|
@ -468,6 +468,16 @@ const initKernel = (workspace, lang) => {
|
||||||
'⚠️ 无法读写块树文件 Failed to access blocktree file',
|
'⚠️ 无法读写块树文件 Failed to access blocktree file',
|
||||||
`<div>块树文件正在被其他程序锁定或者已经损坏,请删除 工作空间/temp/ 文件夹后重启</div><div>The block tree file is being locked by another program or is corrupted, please delete the workspace/temp/ folder and restart.</div>`)
|
`<div>块树文件正在被其他程序锁定或者已经损坏,请删除 工作空间/temp/ 文件夹后重启</div><div>The block tree file is being locked by another program or is corrupted, please delete the workspace/temp/ folder and restart.</div>`)
|
||||||
break
|
break
|
||||||
|
case 24:
|
||||||
|
showErrorWindow(
|
||||||
|
'⚠️ 工作空间已被锁定 The workspace is locked',
|
||||||
|
`<div>该工作空间正在被使用。</div><div>The workspace is in use.</div>`)
|
||||||
|
break
|
||||||
|
case 25:
|
||||||
|
showErrorWindow(
|
||||||
|
'⚠️ 创建工作空间目录失败 Failed to create workspace directory',
|
||||||
|
`<div>创建工作空间目录失败。</div><div>Failed to create workspace directory.</div>`)
|
||||||
|
break
|
||||||
case 0:
|
case 0:
|
||||||
case 1: // Fatal error
|
case 1: // Fatal error
|
||||||
break
|
break
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue