Skip to content

Commit

Permalink
Fix exception when checking latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Aug 5, 2023
1 parent d67f095 commit e95dc60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/auto-updater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class AutoUpdater extends ConfigStoreItem {

// Check version at 1 day interval.
this.#lastCheckTime = new Date();
this.#versionCheckerTimer = setTimeout(this.checkLatestVersion.bind(this), ONE_DAY);
this.#versionCheckerTimer = setTimeout(this.checkLatestVersion.bind(this, {reportResult: false}), ONE_DAY);
this.isCheckingLatestVersion = false;
this.saveConfig();

Expand Down

0 comments on commit e95dc60

Please sign in to comment.