nicola/node-imessage

getUserHome() custom path

PirosB3 opened this issue · 1 comments

What if our iMessage library is somewhere else? what if we copy it on a server somewhere? It could be interesting to provide an IMESSAGE_PATH in order to allow developers to specify an absolute path of their choice, without being locked into Mac's default path schema

you can pass the parameter

new iMessage({path: 'my/path/to/db'})