4 ms·
I clicked the download button and noticed 70+ MB file. I thought to myself, why in the world a text editor needs to be so huge. And then I see your comment. I c
by webwanderings 11y ago
I clicked the download button and noticed 70+ MB file. I thought to myself, why in the world a text editor needs to be so huge. And then I see your comment. I clicked on the Pause button on my download.
- outworlder 11y agoDid you intend to run it in a potato? Even a raspberry pi would have no difficulty with that file size. It's also packing a full browser, don't forget that. And likely all sorts of assets. I particularly don't care. I'm more interested in how it performs during use. By the way, task manager indicates it's using less then half that of RAM, with a few tabs open.
- z3t4 11y agoIt comes with Chromium, that is basically a browser. They have their own version of Chromium called Electron. But I recommend nwjs instead, witch is also built on Chromium and nodejs. And lets you make packages that only include your source code, so that you don't have to download the "browser" for every app.
- Cyph0n 11y agoReally? 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.