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

This commit is contained in:
Liang Ding 2023-03-23 09:52:49 +08:00
parent 43bc66483f
commit de929f2741
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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
}