Adding a icon to your tray-bar
let tray = null;
let mainWindow = null;
let user = null;
app.on('ready', () => {
/**
* Tray related code.
*/
const iconName = 'icon.png';
const iconPath = path.join(__dirname, iconName);
tray = new Tray(iconPath);
tray.setT...