Skip to content

In-app updates via AppUpdater #30

Description

@trsdn

Goal

OpenSwitchr should update itself from GitHub Releases.

Specific to this repository

  • Broker profile: openswitchr (SwiftPM) already exists with ZIP and DMG artifacts, but there is no GitHub release yet.
  • Accessibility / Screen Recording: these grants are tied to the code signature. Keep the signature stable across updates.
  • Before installing, tear down the Dock hover observer and the switcher window.

Reference implementation

This is the same setup as OpenLens, OpenDefendrWatchr, OpenZombr and OpenConnct, all released on 2026-09-16:

To do

  • Add AppUpdater 4.1.2 (exact version) and commit Package.resolved.
  • Add an UpdateManager and menu items, and stop the app's work before installing.
  • Broker: add the dependency lock, the resource bundle declaration if needed, and the OpenSwitchr-{version}.dmg copy_of artifact.
  • Release with scripts/request.sh openswitchr vX.Y.Z --publish.
  • After two releases, test a real update on a Mac other than the build machine.

🤖 Generated with Claude Code

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions