Prevent macOS Spotlight indexing of attachments folder

See: https://apple.stackexchange.com/a/92785
This commit is contained in:
Daniel Gasienica 2018-03-20 18:03:22 -04:00
parent b3251a8de2
commit add5d4ab0b

View file

@ -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) => {