diff --git a/app/electron/init.html b/app/electron/init.html
index 03ece5ad9..78a5fa62b 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 98ad65fc5..ecc0a5bd5 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