Closed sentoxaio closed 3 years ago
I am using node-notifier on an Electron app made with Typescript and React.
node-notifier
When I try to use a custom image as a contentImage, it only loads the default SnoreToast one:
notifier.notify({ title: "<TITLE>", message: `<MESSAGE>`, contentImage: path.join(__dirname, "../assets/logo.png"), appName: `<APP NAME>`, });
guessing it's cause you needed to use the .icon property, not the webpack-notifier "contentImage" one, yeah?
I am using
node-notifier
on an Electron app made with Typescript and React.When I try to use a custom image as a contentImage, it only loads the default SnoreToast one: