It's very strange to see Scirra still using the 0.6.2 nw release and also still closing program using "window["nwgui"]["App"]["quit"]();" instead of "window.close();" because this last command seems to be more reliable. Actually the last nw release (0.7.1) try to solve some problems using nwgui.app.quit (issue 984) but it's still not fixed in 0.7.1. Using "window.close();" avoid this issue.
so i edit C2runtime.js like this ...
Acts.prototype.Close = function ()
else if (this.runtime.isNodeWebkit)
else if (!this.is_arcade && !this.runtime.isDomFree)
* R142 debugger problem update *
Fullscreen mode still generating a error message in a node webkit debugger mode but Browser > Close is now working differently, the project itself is close but the debugger window need to be close in a second step ... so there is a real progress and no more issue using Browser.close.
Thanks Scirra for updating nw to 0.7.0 in R142 release and use now window.close() to exit. App.quit will perhaps be reliable in 0.7.2 and better way in future but window.close seems now the only way to avoid major issues ... sure using "window.close()" will probably create other problems but seems actually the better choice !
* R143 debugger problem update *
Debugger now hangs using node webkit as debugger with this example.