Skip to content

Opt-in update check so exe users learn about safety fixes #79

Closed

Description

@TMHSDigital

Why it matters

The app is distributed as a standalone exe with no installer and no update mechanism, so users stay on whatever version they downloaded. That is a real problem for this project specifically: safety fixes like #38 (Stop kept clicking) only help people who come back to the releases page. An opt-in "new version available" notice closes that gap.

Rationale

  • Releases are on GitHub with a stable tag scheme (vX.Y.Z) and autoclicker.__version__ is available at runtime.
  • Release notes are generated per version (scripts/release_notes.py), so the notice can link straight to what changed.

Suggested approach

  • Setting check_for_updates (ask once on first launch; default off until the user agrees, to respect privacy).
  • On launch, at most once a day, a background daemon thread requests https://api.github.com/repos/TMHSDigital/autoclicker/releases/latest with a short timeout, compares versions, and posts a status-bar or tray notification via _ui ("Version 1.6.0 is available: what's new"). No auto-download, no telemetry, nothing sent besides the request itself.
  • Failures are silent apart from a debug log line. Never check while clicking.
  • Document exactly what is contacted in the README and SECURITY.md.

Done when

  • With the option on, an outdated build shows one non-blocking notice linking to the release; with it off, the app makes no network requests at all (verified by a test that patches the HTTP call).

Activity

  1. added
    priority: low
    packaging
    feature
    on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurepackagingpriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions