Open url on default browser when i click close button


#1

I tried on all events possibles but seem no work any idea on what event or what I’m doing wrong

    app.on('before-quit', (e) => {
  shell.openExternal('google.com');
});