mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
🎨 init
This commit is contained in:
parent
713bbf9a43
commit
616fef6650
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
4
app/pnpm-lock.yaml
generated
4
app/pnpm-lock.yaml
generated
|
|
@ -1,5 +1,9 @@
|
|||
lockfileVersion: '6.0'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
dependencies:
|
||||
'@electron/remote':
|
||||
specifier: ^2.0.9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue