Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

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

Daniele91c1ecedafc
diff --git a/app/electron/init.html b/app/electron/init.html
index fd63acaa16..5f258dc490 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'