The code here works for Windows, below you'll find other versions
How to export to OS and Linux: https://github.com/nwjs/nw.js/wiki/how-to-package-and-distribute-your-apps
Unlock your full gamedev potential
Upgrade to the Personal Edition of Construct 2, it has way more features and won't holding back from making money and using your full creativity like the free edition does. It's a one off payment and all Construct 2 editor updates are free for life!
Plus, it's got a lot of additional features that will help you save time and make more impressive games!