From de929f27412abae89861a05f49d810c088383416 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 23 Mar 2023 09:52:49 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20macOS=20=E7=AB=AF=E5=AF=B9=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E7=A9=BA=E9=97=B4=E6=94=BE=E7=BD=AE=E5=9C=A8=20iCloud?= =?UTF-8?q?=20=E8=B7=AF=E5=BE=84=E4=B8=8B=E5=81=9A=E6=A3=80=E6=9F=A5=20htt?= =?UTF-8?q?ps://github.com/siyuan-note/siyuan/issues/7747?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/electron/init.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/electron/init.html b/app/electron/init.html index 2cbe4f509..4d6a0b65c 100644 --- a/app/electron/init.html +++ b/app/electron/init.html @@ -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 }