From ce282abce640af3c97ed23105b31e939d3ed96ea Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 12 Jan 2023 00:18:31 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=88=9D=E6=AC=A1=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=B7=A5=E4=BD=9C=E7=A9=BA=E9=97=B4=E5=90=8E?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E5=88=9B=E5=BB=BA=20`SiYuan`=20=E8=BF=99?= =?UTF-8?q?=E4=B8=80=E5=B1=82=E6=96=87=E4=BB=B6=E5=A4=B9=20Fix=20https://g?= =?UTF-8?q?ithub.com/siyuan-note/siyuan/issues/7044?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/electron/init.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/electron/init.html b/app/electron/init.html index cd1783eac..144e6de47 100644 --- a/app/electron/init.html +++ b/app/electron/init.html @@ -354,7 +354,7 @@ if (!result.canceled) { const {ipcRenderer} = require('electron') const fs = require('fs') - const initPath = path.join(result.filePaths[0], 'SiYuan') + const initPath = result.filePaths[0] if (!fs.existsSync(initPath)) { fs.mkdirSync(initPath, {mode: 0o755, recursive: true}) }