mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-27 10:46:09 +01:00
🎨 macOS 端对工作空间放置在 iCloud 路径下做检查 https://github.com/siyuan-note/siyuan/issues/7747
This commit is contained in:
parent
43bc66483f
commit
de929f2741
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue