I can understand the inconsistencies and lack of feature support that could emerge from using a different browser engine for each OS (Webkit/Edge), but there should at least be away for Electron apps to share Chromium/Node runtimes between them.
Rather than Spotify, Slack, Discord, ... all coming with their own Electron bundle they can be packaged up as a PWA and use the browser as the runtime environment along with all the nice offline stuff, safe OS integration for notifications, sandboxed file system access, ability to still do some work in S0i3 (aka Modern Standy on Windows), etc.
Or am I totally wrong about this? I am not a web developer so I could be :)
Bonus question: how would this work for things like Atom and VS Code that are electron based. Could they become a PWA?
But some UI issues, like the lack of a proper menu, browser's chrome and address bar will still be a turn off. Besides, having unrestriced access to the user's drive is not something a web page should be able to do and is a must for something like a text editor.
It’s going to want access to all files in that directory, not only the ones you are editing.
Not sure how menus are handled. A standard menu API would seem to make the most sense to me?
Electron-like "web" apps (that follow W3C standards) seem to be the future, and I'd love to help out however I can.
Adobe AIR was an effort to create a common runtime for similar things... wouldn't mind seeing a few OS vendors coming together to support something similar, but on the flip side, I don't want to be stuck with Node 4.0's API in 2024.
I created a proof-of-concept called Electrino that uses the platform native libraries to cut down on app size: https://medium.com/dailyjs/put-your-electron-app-on-a-diet-w...
Unfortunately I haven't had the time to work on Electrino due to family, etc. — I wish I did because the need is clearly there.