> there's no way to keep Electron apps closed source
Please don't confuse open-source with visible-source. If you release an All Rights Reserved Electron app, no-one can legally copy the code, even if it's viewable.
See, for example, the closed-but-viewable-source Vivaldi browser.