How to package a node webkit app as a hybrid standalone desktop app
The nwjs docs describe very detailed How to package and distribute your apps for every single OS. I was wondering if it's possible to package / distribute a nwjs app as a standalone version which is running on all supported platforms as a standalone (no installation required). The usecase for that would be a removable device (usb stick) which autoruns the nwjs app. Therefore it should start the appropriate executable (provided that autorun hasn't been disabled). A second requirement to the above usecase would be, to have as little as possible redundancies to the shiped files. Therefore the HTML5 app itself and all media assets should be reused on all platforms. Thanks for all your hints!
Get this: https://github.com/nwjs/nw-builder nwbuild -p platform (win32/64, linux, macos) appname
This isn't possible however there are some alternatives. One, wrap your application in something else, which I am not even sure if that is possible. Your best bet would be Java since it is a cross platform library. The main problem is the api/library are just different on different platforms hence the multiple build files. Two, put a slim bootable linux on the thumb drive if they didn't have an OS, as well as a partition with an autorun for other operating systems. if they don't need the bootable OS. That is going to require quite a bit of work and nothing out of box currently does all of that.
It's not possible in OSX and Linux due to security. You might find some hacks but they will work in very specific versions of the OS's. It makes sense if you think about it. this is how viruses get on windows machines from external hardware connected.
local web application vs desktop application speed?
How to query user's language choice in innosetup script?
Best way to start desktop application development for a web developer
Google Earth API vs Google Earth COM API
why develop in windows/desktop application?
Development life-cycle for making an application?
How to start writing an augmented reality application
Is NoSQL an appropriate data solution for Desktop Applications?
Are web applications more portable than desktop applications?
Adsense equivalent for a desktop application? [closed]
From Web Developer to Software Developer - What to Know? [closed]
What kind of application is more suited to create as desktop rather than online application?
What language or technology was used to develop the Spotify desktop application?
How can I prevent my desktop application from breaking horribly when the user messes with its files at run-time?
Are off-the-cloud desktop applications dead? [closed]
How do you maintain your multi-language application?