Electron app not getting installed after quitandinstall function

93 Views Asked by At

I am using electron auto updater to get my app updated whenever a new version is available. I am using aws as my generic provider. The problem i am facing is the app detects a new version and download it successfully but when i call quitAndInstall() function the app quits but never gets installed. The installation popup fills half way and suddenly dissapears and then nothing happens.

I tried putting my quitAndInstall() in try catch block but there is no error. I even tried putting my quitAndInstall() in setTimeout but seems like nothing is working! Can someone help!

0

There are 0 best solutions below