electron-windows-notifications icon indicating copy to clipboard operation
electron-windows-notifications copied to clipboard

Issue with Notification Icon

Open GeetaKrishnaAdhikari opened this issue 7 years ago • 1 comments

Hi, I m playing with this module. I am trying to set an Image to the Notification. It is working fine with the Dev environment, but after building the app and installing the app, the ICON is not there. I gave the path of image as string to the XML. My code for it is as follows let imagePath = path.join(__dirname, 'build/tray_icons.png');

<toast><visual><binding template="ToastImageAndText02"><image placement="AppLogoOverride" id="1" src="%s"/><text id="1">%s</text><text id="2">%s</text></binding></visual></toast>, strings: [imagePath,'Electron-Demo','Update available.']

I'd like to know what is the problem with my code. Attaching the screenshot in Dev environment. The icon is not there with the notification for Production. Thank you beforehand. screenshot 22

GeetaKrishnaAdhikari avatar Jul 24 '17 11:07 GeetaKrishnaAdhikari

Hi @GeetaKrishnaAdhikari ,

I saw your post about the notification icon issue in Electron. Any updates on a solution?

Thanks,

hamza-mej-tomoes avatar Jun 07 '24 15:06 hamza-mej-tomoes