I've been looking into a popular topic - that of auto-updating nw applications - and it strikes me that there's a platform-independent route available IF it was possible to either
a - ask nw to load a new application (e.g. a different nw file) from within nw itself
b - have a function/API which calls nw with a new .nw file specified (e.g. run a 2nd application) - which is platform aware, e.g. the executable calling itself.
Currently I can find no way to do a, and to do b requires platform-specific code to call the executable depending on platform?
If there was a standard cross-platform way of doing either/both of those things - we could easily ship a 2nd application which auto-updated the primary application!?
e.g. load/call new application, closing the old application if necessary - new application updates .nw file of original application and then calls original application (closing itself if necessary).
Doesn't solve the issue of updating the nw executables and support files - but the need to maintain things like execute flags probably leaves that as a platform-specific problem!?