From 26dc8dee6f28a16786671c96c0b83ceda0f80fe0 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 00:07:27 +0000 Subject: [PATCH] chore: add reference Homebrew Cask for the Amethyst desktop app MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit amethyst-nostr does not exist in homebrew-cask yet, so bump-homebrew.yml has had no cask to bump. Add a submission-ready reference cask (mirrors the amy.rb convention) pinned to the v1.12.6 arm64 DMG with its verified sha256 (69882e83…). arm64-only because the release matrix builds no Intel DMG; zap targets ~/.amethyst where the desktop app stores its data. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01TGdEUziwC3Uc3XhB7DFQYt --- .../packaging/homebrew/amethyst-nostr.rb | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 desktopApp/packaging/homebrew/amethyst-nostr.rb diff --git a/desktopApp/packaging/homebrew/amethyst-nostr.rb b/desktopApp/packaging/homebrew/amethyst-nostr.rb new file mode 100644 index 0000000000..c63eef6ec1 --- /dev/null +++ b/desktopApp/packaging/homebrew/amethyst-nostr.rb @@ -0,0 +1,38 @@ +# Reference Homebrew Cask for the Amethyst desktop app. +# +# This file is NOT consumed by any build in this repo. Submit it to +# Homebrew/homebrew-cask (as `Casks/a/amethyst-nostr.rb`) or drop it into a +# personal tap (`Casks/amethyst-nostr.rb`) for an instant +# `brew install --cask /amethyst-nostr`. +# +# The release matrix (.github/workflows/create-release.yml) builds an +# Apple-Silicon DMG only (no Intel DMG), so this cask is arm64-only. +# +# version + sha256 below track the published +# `amethyst-desktop--macos-arm64.dmg`. Once the cask exists upstream, +# bump-homebrew.yml keeps the live copy current on each stable release. To +# refresh this reference by hand: +# curl -fsSL -o amethyst.dmg \ +# https://github.com/vitorpamplona/amethyst/releases/download/vX.Y.Z/amethyst-desktop-X.Y.Z-macos-arm64.dmg +# shasum -a 256 amethyst.dmg +cask "amethyst-nostr" do + version "1.12.6" + sha256 "69882e83ebcec6723e1ad5655ec2c9d1fa151b9d1a8ae51b869a9d62feabf093" + + url "https://github.com/vitorpamplona/amethyst/releases/download/v#{version}/amethyst-desktop-#{version}-macos-arm64.dmg", + verified: "github.com/vitorpamplona/amethyst/" + name "Amethyst" + desc "Nostr client for desktop" + homepage "https://github.com/vitorpamplona/amethyst" + + livecheck do + url :url + strategy :github_latest + end + + depends_on arch: :arm64 + + app "Amethyst.app" + + zap trash: "~/.amethyst" +end