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/17430

Daniel5462b7284793
diff --git a/app/electron/main.js b/app/electron/main.js
index 5188221ca6..81f3f0929a 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -55,7 +55,7 @@ const isOpenAsHidden = function () {
remote.initialize();
-// `~/.config` 下 Electron 相关文件夹名称改为 `SiYuan-Electron` https://github.com/siyuan-note/siyuan/issues/3349
+// Electron 相关文件夹名称改为 `SiYuan-Electron` https://github.com/siyuan-note/siyuan/issues/3349
// getPath("userData") 会创建空的 SiYuan 目录,改为 app.getPath("appData")
app.setPath("userData", path.join(app.getPath("appData"), app.getName() + "-Electron"));