From e91c1ecedafc0c52749a068ad401e5100d4e37ad Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 1 Aug 2023 22:09:06 +0800 Subject: [PATCH] :art: The desktop initialization interface workspace defaults to ~/SiYuan/ Fix https://github.com/siyuan-note/siyuan/issues/8879 --- app/electron/init.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/electron/init.html b/app/electron/init.html index fd63acaa1..5f258dc49 100644 --- a/app/electron/init.html +++ b/app/electron/init.html @@ -364,9 +364,6 @@ const {ipcRenderer} = require('electron') const initPath = result.filePaths[0] - if (defaultWorkspace !== initPath) { - fs.rmdirSync(defaultWorkspace, {recursive: true}) - } if (isICloudPath(initPath)) { let msg = '⚠️ This folder is under the iCloud sync path, please change another path'