Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 桌面端支持同时打开多个工作空间 https://github.com/siyuan-note/siyuan/issues/4567

Liang Dinga2a0054dccff
diff --git a/app/electron/main.js b/app/electron/main.js
index 68b716bd49..5ae5e785d3 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -468,6 +468,16 @@ const initKernel = (workspace, lang) => {
'⚠️ 无法读写块树文件 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>`)
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 1: // Fatal error
break