Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 25, 2025

PR Checklist

  • Functionality has been tested, no obvious bugs
  • Code style follows project conventions
  • Documentation/comments updated (if applicable)

Brief Description of Changes

Adds a DisableAutoUpdateCheck setting to skip the automatic update check that runs every 30 days at startup. Users with slow networks can now disable this while retaining manual update checks.

  • App.xaml.cs: Early return in CheckUpdate() when setting is enabled
  • TrayIconManager.cs: New toggle menu item with checkbox state
  • Translations.config: Added Icon_DisableAutoUpdateCheck translation key (English)
private void CheckUpdate()
{
    if (SettingHelper.Get("DisableAutoUpdateCheck", false))
        return;
    // ... existing logic
}

Related Issue (if any)

Fixes #1736

Additional Notes

Manual "Check for Updates..." menu option remains functional regardless of this setting.

Original prompt

This section details on the original issue you should resolve

<issue_title>How to disable QL to check update</issue_title>
<issue_description>How to disable QL to check update at start, or to make this function to be manual? Since it is not necessary for me to update to the newest QL, which indeed takes much time due to the bad network. Thanks!</issue_description>

<agent_instructions>add a new option to disable check update</agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: emako <24737061+emako@users.noreply.github.com>
Copilot AI changed the title [WIP] Add option to disable update check for QL Add option to disable automatic update check at startup Nov 25, 2025
Copilot AI requested a review from emako November 25, 2025 16:11
@emako emako marked this pull request as ready for review November 25, 2025 16:44
@emako emako merged commit 1adb7ce into master Nov 25, 2025
1 check passed
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.

How to disable QL to check update

2 participants