11/30/2023 0 Comments Nw.js altaro![]() ![]() Which is more popular?Įlectron is by far the more popular project. In Electron, the entry point is always a script that gets fired, which then creates a browser window and loads HTML.īoth applications provide an API to write software applications but Electron provides a lower level API which works directly with NodeJS. In that case, NW.js will open the given entry point in a browser window. In NW.js, the main entry point of an application can be an HTML web page. These days, millions of web developers are able to step into this same area of development by using Electron or NW.JS. In the past, GUI development for software applications typically required C#, Java or C++ libraries to get the job done. I've compiled a list of alternative tools with pros/cons at XPDA.Electron and NW.JS are two technologies aimed to allow developers to use web technologies to write traditional desktop software. If filesize really is your greatest concern, then browser-based desktop apps aren't the way to go. Ultimately, there is only so much you can do while shipping a copy of Node and an entire browser to your user. In a more real world scenario the installer would be closer to 60 MB, and the installed version would be closer to 110MB. Since I'm using WinRAR to make the installer, I can take advantage of its superior compression ratio, which is what gets the 61.5 MB down to 20 MB. I used WinRAR's SFX (self-extracting executable) options to create an installer.This takes the app down from around like 85 MB to 61.5 MB. I removed any NW.js files that aren't needed for the app to run (this can be risky, but this is a very simple app, so I'm not worried).I wouldn't normally use that version, but if filesize was my highest concern (like in this case), then I might. ![]() I used the older version of NW.js (0.12.3).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |