Skip to content

Clamshell 0.4.0

Pre-release
Pre-release

Choose a tag to compare

@Bagilov Bagilov released this 30 Oct 19:34
· 4 commits to main since this release

Check GitHub Releases for a newer version and install it with consent.

Added

  • clamshell update checks GitHub Releases for a newer version, and clamshell update --install downloads, verifies and installs it. The check is throttled to once a day (--force overrides), and the result is available as JSON with --json for the menu bar app.
  • The menu bar app checks for updates in the background and offers Update to X.Y.Z… when one is available, next to an always-present Check for Updates… row. Installing always asks for confirmation first, and the app offers to restart once the new version is in place.
  • The installer is verified against the release's sha256 digest before it is installed. A release without a digest is refused unless --allow-unverified is passed, so the default path never installs unverified code. --dry-run downloads and verifies without installing.
  • An active keep-awake session is re-armed on the new version after an upgrade, so the new watcher takes over without restoring sleep. The updated sources are also copied into the user-owned support directory, which the menu bar app reads.

Changed

  • Release selection prefers a final release over a pre-release and only ever offers something strictly newer than the running version. With this project's releases currently all marked as pre-releases, the newest pre-release is offered instead, so updates still work either way.

Notes

  • Requires macOS 14 or newer on Apple Silicon.
  • The app is an accessory (LSUIElement): a moon glyph in the menu bar, no Dock icon.
  • Clamshell-0.4.0.pkg (sha256 8dc8d405dd3209659ec9232dfaf770121f30da6953d9503002c6921aa92397c4) installs the CLI, the root-owned helper with its narrow sudoers rule, and the menu bar app.

See CHANGELOG.md for details.