Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/5413

Vanessa9709d20aa4fc
diff --git a/app/src/menus/navigation.ts b/app/src/menus/navigation.ts
index 85a1f5d791..3a0d0acbf6 100644
--- a/app/src/menus/navigation.ts
+++ b/app/src/menus/navigation.ts
@@ -103,7 +103,7 @@ export const initNavigationMenu = (liElement: HTMLElement) => {
window.siyuan.menus.menu.append(new MenuItem({
label: window.siyuan.languages.showInFolder,
click: () => {
- shell.openPath(pathPosix().join(window.siyuan.config.system.dataDir, notebookId));
+ shell.openPath(path.join(window.siyuan.config.system.dataDir, notebookId));
}
}).element);
if (!window.siyuan.config.readonly) {