How to deploy Ionic cordova app on windows

How can I deploy a ionic5 angular - cordova application with a windows file .exe?

The Ionic documentation say to use Electron without any kind of explanation:

I followed some tutorial like theese:

but I was unable to get the project working.
I don’t understand if it is possible to generate an .exe file from an ionic-cordova project without taking it apart and having to rewrite a good part of it?