I always thought that deploying web apps as desktop apps is a great thing to do. As in, not bunch it up into electron, but using shell scripting to start a local only web server and send a command to the OS to open a localhost page.
The advantages are that you don't need bloated software to do stuff, you have the full power of the OS, because you have a local webserver running, you have access to the file system, etc, you have the choice to use any programming language and framework (not be limited to JS), etc.
I keep thinking why people don't go this way. Are there any glaring mistakes to this approach I am unable to see?