🎨 The desktop initialization interface workspace defaults to ~/SiYuan/ Fix https://github.com/siyuan-note/siyuan/issues/8879

This commit is contained in:
Daniel
2023-08-01 22:09:06 +08:00
parent 16cdc66398
commit e91c1eceda

View File

@@ -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'