Prevent macOS Spotlight indexing of attachments folder
See: https://apple.stackexchange.com/a/92785
This commit is contained in:
parent
b3251a8de2
commit
add5d4ab0b
1 changed files with 1 additions and 2 deletions
|
@ -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) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue