Skip to content

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

:art: macOS 端对工作空间放置在 iCloud 路径下做检查 https://github.com/siyuan-note/siyuan/issues/7747

Liang Dingde929f27412a
diff --git a/app/electron/init.html b/app/electron/init.html
index 2cbe4f5093..4d6a0b65cf 100644
--- a/app/electron/init.html
+++ b/app/electron/init.html
@@ -397,8 +397,8 @@
}
const isICloudPath = (absPath) => {
- const process = require('process')
- if ('darwin' !== process.platform) {
+ const os = require('os')
+ if ('darwin' !== os.platform()) {
return false
}