Existing frameworks like Qt or GTK could also be used for a Cross-Platform solution
And just because it's electron doesn't mean it's inherently Cross-Platform look at discord for example It took too long for a initial desktop client to be released and then it ha issues with things like screen sharing not working as expected