From 9709d20aa4fc0bd1ed8df70931ffc6983682d711 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 14 Jul 2022 22:05:10 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/5413 --- app/src/menus/navigation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/menus/navigation.ts b/app/src/menus/navigation.ts index 85a1f5d79..3a0d0acbf 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) {