Re:Ask HN: Do you think Electron is good for building Deskto...
by crucialfelix on Tuesday May 02, 2017 @09:49AM
(#14246266)
I am looking forward to more PWA and I agree this would replace most use cases for Electron, but not all.
If it's just a web app (network, localStorage etc) then it would be fine. But if you need to read/write to the user's filesystem or need to include other executables then we can't run that in our browser. We don't want a webbrowser to have any possible path to screwing with your filesystem or running executables.
Re:Ask HN: Do you think Electron is good for building Deskto...
by gcoda on Tuesday May 02, 2017 @05:48PM
(#14250945)
There is a flag for it.
I was surprised that my website 'installed' on my Linux PC, created a '.desktop' file and launched in a separate window. It works now, only bug I encountered is asking 'add do desktop' while I already launched it from desktop
Re:Ask HN: Do you think Electron is good for building Deskto...
by mijoharas on Tuesday May 02, 2017 @06:29PM
(#14251219)
Really? Awesome! What is the flag? I couldn't find it when googling about for information a few weeks ago.
EDIT: Found this: https://mobile.twitter.com/nolanlawson/status/71266809721643...
I was expecting this to happen after chrome discontinued their "chrome apps", that the underlying tech would come back with progressive web apps, but I haven't seen anything in that space.
I think it would solve the problems with Electron apps (wouldn't have to rebundle the runtime for a massive binary size and massive memory use).
If anyone knows if anything is happening in this space (progressive web app installation for desktop) please let me know.