I'm trying to use electron-updater, but I get this error:
TypeError: this.app.whenReady is not a function
at ElectronAppAdapter.whenReady (/Users/jetlej/Projects/Task Slayer/code/node_modules/electron-updater/src/ElectronAppAdapter.ts:9:21)
Comes from this code:
app.on('ready', () => {
autoUpdater.checkForUpdates()
})
What Electron version are you running?
electron-builder > 20.35.0 requires Electron 3.
That was the issue. Upgrading to electron 3.0 made it work! Thanks
Most helpful comment
What Electron version are you running?
electron-builder > 20.35.0 requires Electron 3.