Wrap your game inside Electron instead of NW.Js.
There is a similar process, tho it is not yet supported. If you plan on using this tool and need this feature, I invite you to file an issue here : github.com/C2Electron/template/issues