Isn't the Dropbox desktop app Electron crap these days? It's certainly not the pleasant experience it used to be.
Plus what you're talking about there is the opposite of what I'm suggesting, you wrote 2 UIs with a shared C++ logic, I'm suggesting two native platform layers with hosted webviews.