mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
A homebrew job renders anomalyco/tap/hex from the published DMG (anomaly.hex, auto_updates, release-service livecheck, zap paths), checks it with brew style and brew audit on a macOS runner, and on stable pushes it to anomalyco/homebrew-tap with the deploy key github-actions-hex-homebrew; record-brew then records the brew distribution. The manual cask step and the brew-version dispatch are gone.
33 lines
711 B
Ruby
33 lines
711 B
Ruby
cask "hex" do
|
|
version "@VERSION@"
|
|
sha256 "@SHA256@"
|
|
|
|
url "@URL@"
|
|
name "Hex"
|
|
desc "Local voice dictation"
|
|
homepage "https://anoma.ly/hex/"
|
|
|
|
livecheck do
|
|
url "https://anoma.ly/release/hex/desktop/stable.json"
|
|
strategy :json do |json|
|
|
json.dig("release", "version")
|
|
end
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on arch: :arm64
|
|
depends_on macos: ">= :sequoia"
|
|
|
|
app "Hex.app"
|
|
|
|
uninstall quit: "anomaly.hex"
|
|
|
|
zap trash: [
|
|
"~/.config/hex",
|
|
"~/Library/Application Support/hex",
|
|
"~/Library/Caches/anomaly.hex",
|
|
"~/Library/HTTPStorages/anomaly.hex",
|
|
"~/Library/Preferences/anomaly.hex.plist",
|
|
"~/Library/Saved Application State/anomaly.hex.savedState",
|
|
]
|
|
end
|