Prevent macOS Spotlight indexing of attachments folder
See: https://apple.stackexchange.com/a/92785
This commit is contained in:
@@ -6,8 +6,7 @@ const path = require('path');
|
|||||||
const toArrayBuffer = require('to-arraybuffer');
|
const toArrayBuffer = require('to-arraybuffer');
|
||||||
|
|
||||||
|
|
||||||
const PATH = 'attachments';
|
const PATH = 'attachments.noindex';
|
||||||
|
|
||||||
|
|
||||||
// getPath :: AbsolutePath -> AbsolutePath
|
// getPath :: AbsolutePath -> AbsolutePath
|
||||||
exports.getPath = (userDataPath) => {
|
exports.getPath = (userDataPath) => {
|
||||||
|
Reference in New Issue
Block a user