Electron, as stated before, is a "developers first, users later" framework. It allows rapid development thanks to its reliance on such an accessible language as Javascript.
End of the story. It's not for elegant applications, it's not for secure applications. It's the product of the ship fast fix later (maybe) mentality the folks in silicon Valley gifted us with.