Skip to content

Commit

Permalink
Fixed notification not working for periodic update check
Browse files Browse the repository at this point in the history
  • Loading branch information
kmteras committed Jun 18, 2020
1 parent d9c7a1c commit 256ae4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ async function createWindow() {
autoUpdaterService.setIconUrl(iconUrl);
autoUpdaterService.check();

scheduleJob("0 14 * * *", autoUpdaterService.check);
scheduleJob("0 14 * * *", autoUpdaterService.check.bind(autoUpdaterService));
autoLauncher = new AutoLaunch(autostartOptions);

let pauseIconFileName;
Expand Down

0 comments on commit 256ae4b

Please sign in to comment.