Skip to content

Commit

Permalink
Merge pull request #67 from wakatime/bugfix/no-quit
Browse files Browse the repository at this point in the history
No manual relaunch to prevent asking twice for updates
  • Loading branch information
alanhamlett authored Oct 21, 2024
2 parents 5f1eb15 + 2a61231 commit 740918a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion electron/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ autoUpdater.on("update-downloaded", (res) => {
`Update Downloaded. Downloaded file: ${res.downloadedFile}, Version: ${res.version}, `,
);
autoUpdater.quitAndInstall();
app.relaunch();
});
autoUpdater.on("update-not-available", () => {
Logging.instance().log("Update not available");
Expand Down

0 comments on commit 740918a

Please sign in to comment.