Skip to content

Commit

Permalink
Use updateElectronApp function from update-electron-app package
Browse files Browse the repository at this point in the history
  • Loading branch information
tanchekwei authored and sunner committed Feb 4, 2024
1 parent 18047af commit d297e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit d297e1c

Please sign in to comment.