Here I am trying to create a button in Electron which would react to left click and right click the same way.
While the first part is working as expected, and while a