From add5d4ab0b2da0cd11c4ad89a19132ddd66966a6 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Tue, 20 Mar 2018 18:03:22 -0400 Subject: [PATCH] Prevent macOS Spotlight indexing of attachments folder See: https://apple.stackexchange.com/a/92785 --- app/attachments.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/attachments.js b/app/attachments.js index c70f6a305..0b7b5a068 100644 --- a/app/attachments.js +++ b/app/attachments.js @@ -6,8 +6,7 @@ const path = require('path'); const toArrayBuffer = require('to-arraybuffer'); -const PATH = 'attachments'; - +const PATH = 'attachments.noindex'; // getPath :: AbsolutePath -> AbsolutePath exports.getPath = (userDataPath) => {