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 }