mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 09:13:23 +00:00
chore: add reference Homebrew Cask for the Amethyst desktop app
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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TGdEUziwC3Uc3XhB7DFQYt
This commit is contained in:
@@ -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 <tap>/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-<version>-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
|
||||
Reference in New Issue
Block a user