Node.js/Electron module for determining what action to perform when the user double clicks on the window titlebar