From b288a278d84ae11fe9727aa667b7bcc46e289b9f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 26 May 2020 03:11:43 -0400 Subject: [PATCH] Warn if data directory is in iCloud Drive --- chrome/content/zotero/xpcom/file.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/file.js b/chrome/content/zotero/xpcom/file.js index 209e12e596..3f72884d7c 100644 --- a/chrome/content/zotero/xpcom/file.js +++ b/chrome/content/zotero/xpcom/file.js @@ -1354,7 +1354,9 @@ Zotero.File = new function(){ // OneDrive || path.toLowerCase().includes('onedrive') // pCloud - || path.toLowerCase().includes('pcloud'); + || path.toLowerCase().includes('pcloud') + // iCloud Drive (~/Library/Mobile Documents/com~apple~CloudDocs) + || path.includes('Mobile Documents'); };