I want to change the default Electron icon to custom icon on all the places but i am unable to change in two places.
- The icon on the Windows start menu when we search the application
- The icon on the Windows taskbar
I have also tried a few solutions
mainWindow = new BrowserWindow({
width: 1024,
height: 768,
resizable: false,
icon: path.join(__dirname, 'src/app_64x64.png'),
});
and
mainWindow.setOverlayIcon(path.join(__dirname, 'src/app_128x128.png'), 'Description for overlay');
but both the solutions are not working. Is there any way to change the icon?
Windows Task bar image
Window Application search image