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?
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.