Skip to content

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

:art: init

Vanessa616fef6650c1
diff --git a/app/electron/init.html b/app/electron/init.html
index 03ece5ad97..78a5fa62bc 100644
--- a/app/electron/init.html
+++ b/app/electron/init.html
@@ -411,8 +411,9 @@
const path = require('path')
const iCloudRoot = path.join(decodeURIComponent(getSearch('home')), 'Library', 'Mobile Documents')
const allFiles = walk(iCloudRoot)
+ const absPathLower = absPath.toLowerCase()
for (const file of allFiles) {
- if (-1 < absPath.indexOf(file.toLowerCase())) {
+ if (-1 < absPathLower.indexOf(file.toLowerCase())) {
return true
}
}
diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yaml
index 98ad65fc53..ecc0a5bd52 100644
--- a/app/pnpm-lock.yaml
+++ b/app/pnpm-lock.yaml
@@ -1,5 +1,9 @@
lockfileVersion: '6.0'
+settings:
+ autoInstallPeers: true
+ excludeLinksFromLockfile: false
+
dependencies:
'@electron/remote':
specifier: ^2.0.9