Skip to content

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

:art: 移动页签到新窗口 Fix https://github.com/siyuan-note/siyuan/issues/2955

Liang Dingc8cb98a86a02
diff --git a/app/electron/main.js b/app/electron/main.js
index 01b53436be..f6d22a4bbe 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -52,10 +52,8 @@ try {
}
} catch (e) {
console.error(e)
- require('electron').
- dialog.
- showErrorBox('创建配置目录失败 Failed to create config directory',
- '思源需要在用户家目录下创建配置文件夹(~/.config/siyuan),请确保该路径具有写入权限。\n\nSiYuan needs to create a configuration folder (~/.config/siyuan) in the user\'s home directory. Please make sure that the path has write permissions.')
+ require('electron').dialog.showErrorBox('创建配置目录失败 Failed to create config directory',
+ '思源需要在用户家目录下创建配置文件夹(~/.config/siyuan),请确保该路径具有写入权限。\n\nSiYuan needs to create a configuration folder (~/.config/siyuan) in the user\'s home directory. Please make sure that the path has write permissions.')
app.exit()
}