Start a new installation process inside the electron App?


#1

We want to add auto update feature to our app, but we don’t want to use the official or third party solution since they are somewhat tedious.

This is what we want:
1.download the new installation file quietly if there is new one.
2.ask the user whether he or she wants to update now.
3.when the user click “yes, update now”, the app should start the installation process, just like user double click the exe/dmg file on the desktop.

How can we make step 3 work? Is this possible?
Thanks.