Skip to content

Commit

Permalink
Specify value for customPath must be to Binary on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kurisubrooks committed Jan 19, 2017
1 parent ccae93a commit 346763c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const NotificationCenter = require('node-notifier').NotificationCenter;

var notifier = new NotificationCenter({
withFallback: false, // Use Growl Fallback if <= 10.8
customPath: void 0 // Relative path if you want to use your fork of terminal-notifier
customPath: void 0 // Relative path to binary if you want to use your fork of terminal-notifier
});

notifier.notify({
Expand Down Expand Up @@ -171,6 +171,12 @@ If sound is simply `true`, `Bottle` is used.

See [specific Notification Center example](./example/advanced.js).

**Custom Path clarification**

`customPath` takes a value of a relative path to the binary of your custom version of terminal-notifier.

Example: `./vendor/terminal-notifier.app/Contents/MacOS/terminal-notifier`

### Usage WindowsToaster

**Note:** There are some limitations for images in native Windows 8 notifications:
Expand Down

0 comments on commit 346763c

Please sign in to comment.