Skip to content

Commit

Permalink
Merge pull request #71 from wakatime/bugfix/setfeedurl
Browse files Browse the repository at this point in the history
Remove need for app-update.yml to auto update
  • Loading branch information
alanhamlett authored Oct 29, 2024
2 parents 0896be5 + 7da2597 commit 2f4a577
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions electron/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ process.env.ELECTRON_DIR = app.isPackaged

const isMacOS = process.platform === "darwin";

autoUpdater.setFeedURL({
provider: "github",
owner: "wakatime",
repo: "desktop-wakatime",
});
autoUpdater.autoDownload = true;
autoUpdater.autoInstallOnAppQuit = true;
autoUpdater.autoRunAppAfterInstall = true;
Expand Down

0 comments on commit 2f4a577

Please sign in to comment.