Closed debelop13 closed 7 years ago
Check what app.getName()
returns. It should not be 'Electron'.
Alos, it is disabled automatically for win/mac app store
app.getName returns undefined.. updater.version or updater.buildId also returns undefined..
Is not initializing in my main.js ..
If I execute your example like this "electron app/main.js" also is not initializing.. why?
@debelop13 Update can work only for a compiled application
I have ember electron app compiled with electron-forge.
I run with your example.. and console is showing "electron-simple-updater is not initialized", what is going on?
Andd when I run checkforupdates.. it shows "update is disabled" without any error..
Also, I put disabled to false, and neither is not working
updater.init({ checkUpdateOnStart: false, autoDownload: false, disabled: false, });
In package.json
"updater": { "url": "https://raw.githubusercontent.com/megahertz/electron-simple-updater/master/example/updates.json" },
Thanks!!