So I want to make an event that closes the window when you click it in Node Webkit. Any thoughts?
Maybe the browser plugin helps? Since node-webkit is more or less a Chrome browser, the browser plugin's action "Close" might work? Wild guessing...
Nope, doesn't work. First thing I tried!
Develop games in your browser. Powerful, performant & highly capable.
Works for me. Using the latest beta if that makes any difference.
The browser Close action should work.
it works for me. But, like toggling full screen, I think it has to be triggered by a user input, for security reason. So the close action has to be inside mouse click or key pressed event
Is it only on export, not on preview? That might be why it's not working for me.
And yes I'm using r150.