I'm wanna set up auto-updates features in my Electron App build in Quasar. So I come across with electron-simple-updater.
https://github.com/megahertz/electron-simple-updater#checking-for-update
I fail to implement it as the auto-updates just can't seem to work. Due to 'disabled' option always set to true, just like stated in the documentation.
I try
updater.setOptions({
"url" : "...",
"disabled" : false,
});
Then when I
console.log(updater.checkForUpdates());
It display
Update is disabled
It's not working. I'm able to set any options other than 'disabled'
Is there any way to force 'disabled = false'?
By the way, my environment is macOS v10.14.6