by Crespyl · 9y ago · 0 comments
The JVM (and apparently qbrt) is designed to be shared, apps are expected to use the installed system version of the VM, though if the packager wants they can include a specific version to use.
I wish it were easy/possible to get Electron apps to share things, it bothers me that Chrome, Discord, and Slack almost certainly could share most of their hundreds of megabytes.
https://www.npmjs.com/package/nwjs
and electron:
It's not completely bonkers. It could be possible to make a web installer that checks for node and electron and downloads them if necessary. Nobody seems to do that though. Every electron app bundles electron. At least every one I've seen
That plus scarring from browser differences over N years.
Of course it's still totally possible, but there are probably gotchas that aren't obvious if you're mainly a web developer.