-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default icon moves into title when using custom icon #175
Comments
Hi. For the current version of node-notifier check out this text in the readme: https://github.com/mikaelbr/node-notifier#custom-icon-without-terminal-icon-on-macos Note: This is subject (possibly) to change in the next major release due to changes in dependency https://github.com/julienXX/terminal-notifier. |
Thanks. Looks like a 16 step process, according to the linked issue #71. Will future versions of node-notifier be able to address this? |
Here's a quick guide how to do it. (If you don't have an ICNS file, here's a converter)
Here you go! Hope this helps. |
@georgebgk Hey there, thanks for your reply! If I make the edits you specified, will they remain in place when other people install and use the app? Won't the package.json file just install a fresh copy of node-notifier upon |
You'll have to distribute your node-notifier binary. Add it to a const { NotificationCenter } = require('node-notifier');
const notification = new NotificationCenter({
customPath: path.join(__dirname, 'lib', 'notifier.app', 'Contents', 'MacOS', 'terminal-notifier')
}); |
@naheller Yes, it will, but if you use electron packager, your existing node-notifier will be kept. |
This issue occurs on MacOS
Here is the notification:
And the code that builds it:
How can I get rid of the little black box icon? Thanks!
The text was updated successfully, but these errors were encountered: