3 ms·
Really? How is the app opened then without bundling Chromium? I built an app 4 months back and that was the only option.
by Cyph0n 11y ago
Really? How is the app opened then without bundling Chromium? I built an app 4 months back and that was the only option.
- yathern 11y agoIt isn't really, but I guess it's so that in the future, if more apps are built with nwjs, it's possible to just download the 'runtime' and then each program sees if its installed, then downloads it if needed.
- hobarrera 11y agoThat's what we have package managers that handle dependencies for. Hopefully, that decade-old feature will be the future on windows too.
- z3t4 11y agoYou simply zip the files and rename to dot nw. Then the first time the user runs the file, the user needs to select "open with nw.exe". ref: https://github.com/nwjs/nw.js/wiki/How-to-package-and-distribute-your-apps https://github.com/nwjs/nw.js/wiki/How-to-package-and-distri... You probably want to include an "install" script that: * Download and install nwjs if it doesn't exist * Make the "package" open with nw.exe * optionally: Create a shortcut to the "package" on the desktop * optionally: Set a icon for the shortcut Or instruct the user on how to do it. Many files work that way, that you have to select a program to open it with, so the user probably already knows how to do it.