diff --git a/app/electron/init.html b/app/electron/init.html index 4bea0c317..b0205ba2a 100644 --- a/app/electron/init.html +++ b/app/electron/init.html @@ -440,7 +440,7 @@ let defaultWorkspace = path.join(decodeURIComponent(getSearch('home')), "SiYuan") if ("darwin" === process.platform) { // Change the initial workspace path to ~/Library/Application Support/SiYuan on macOS https://github.com/siyuan-note/siyuan/issues/17095 - defaultWorkspace = path.join(decodeURIComponent(getSearch('home')), "Application Support", "SiYuan") + defaultWorkspace = path.join(decodeURIComponent(getSearch('home')), "Library", "Application Support", "SiYuan") } if (!fs.existsSync(defaultWorkspace)) { fs.mkdirSync(defaultWorkspace, {mode: 0o755, recursive: true})