diff --git a/src/update.js b/src/update.js index b6c60b56a8..6c09fe7bef 100644 --- a/src/update.js +++ b/src/update.js @@ -45,7 +45,7 @@ const getLatestVersionFromGithub = () => { const updateApp = (mainWindow) => { localMainWindow = mainWindow; autoUpdater.on("error", getLatestVersionFromGithub); - require("update-electron-app")(); + require("update-electron-app").updateElectronApp(); }; export default updateApp;