Is there a way to quit/close the node-webkit application from an in-game action like a button press?
Close in the Browser-object should work.
Develop games in your browser. Powerful, performant & highly capable.
Try to go to Browser Object/Plugin and choose Close..
On Click / On Touch Exit > Browser - Close