Have you considered using tauri instead of electron.
It seems that it would have better performance than electron.
And the same codebase can be used.
I don't know how practical this is as I'm a noob at programming,
But I tried it out and its pretty nice.
And the executables are tiny compared to electron.
https://tauri.app/
Worth checking out imo