The advantages of NW.js would be:
-games can be exported to Windows, Mac and any Linux distribution
-games can be exported from any platform to any platform so we could export from Mac to Windows and Linux, and also from Windows to Mac and Linux and from Linux to Windows and Mac.
I have just tried it and I was able to make a standalone nw package on 64bit Windows to run on 32bit Linux and it was seriously surprise me how easy it is so I guess it could be done on any platform.
I think the only disadvantage would be the size increase of GDevelop as to do such thing would require to include NW.js for each platform which would be around 300+ Mb I guess, so it would be a huge increase in size. I know you care about the download size, so how about that if somebody wan’t to export to Windows, Linux and Mac using the HTML5 platform then GDevelop would download the correct NW.js version automatically and just prompt a message to the user about it is downloading if not already downloaded?
Maybe it is sounds useless as NW.js is there, it free it easy to use if somebody is interested but what I have in mind really is that, an option in GDevelop to export to Windows, Linux(32bit/64bit) and Mac would be more attractive than just provide a link to NW.js on the wiki on the forum and that’s it. But the main thing is, it is not only about an option to export HTML5 to the desktop but it would also have advantages over the native export such as:
- cross platform export to the desktop
-32bit Linux support
-better Linux and Mac support of games made in GDevelop as of now native games are supporting mainly Ubuntu other non ubuntu or debian based distros may having trouble running games out of the box made in GDevelop and Mac games when native export is become available probably going to have trouble with running on different versions of Mac OS.
NW.js could provide a bit more flexibility and better support on Linux and Mac.