Skip to content

web: disable desktop update checker if auto updates off#9302

Open
01zulfi wants to merge 2 commits intobetafrom
web/disable-desktop-update-checker
Open

web: disable desktop update checker if auto updates off#9302
01zulfi wants to merge 2 commits intobetafrom
web/disable-desktop-update-checker

Conversation

@01zulfi
Copy link
Contributor

@01zulfi 01zulfi commented Feb 4, 2026

Closes #9285

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>

checkingForUpdate();
checkForUpdate().catch(console.error);
checkForUpdate(settingStore.get().autoUpdates).catch(console.error);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure that autoUpdates has the updated value here? If not then it won't ever check for updates on startup.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that was a nice catch, thanks!

I'm now using a listener so we can guarantee the latest value. One side-ffect is that update checker will run anytime the value changes, which I don't think should be a huge issue

… value

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
@01zulfi 01zulfi requested a review from thecodrr February 17, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants