Skip to content

Automatically check for updates only once #863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 24, 2022

Conversation

AlbyIanna
Copy link
Contributor

Motivation

Checking for updates should happen only once at startup.
Right now, every time a new sketch is open (that is, every time an electron renderer process is instantiated) a check for updates is performed. Since we don't want to flood the users with unnecessary dialogs, we need to show it only on the first sketch they open.

Change description

Add a flag to check if an initial check has already been performed

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

@AlbyIanna AlbyIanna requested review from fstasi and per1234 February 24, 2022 09:27
@AlbyIanna AlbyIanna force-pushed the fix-multiple-updater-checks branch from be77ad5 to e5789b6 Compare February 24, 2022 10:51
@AlbyIanna AlbyIanna force-pushed the fix-multiple-updater-checks branch from 753d057 to 489d4a8 Compare February 24, 2022 11:07
@AlbyIanna AlbyIanna merged commit baa9b5f into main Feb 24, 2022
@AlbyIanna AlbyIanna deleted the fix-multiple-updater-checks branch February 24, 2022 14:04
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants