Add ARM DMG for helo (#116448)

* Add ARM DMG for helo

* Update helo.rb

Co-authored-by: Miccal Matthews <miccal.matthews@gmail.com>
This commit is contained in:
Robert Boes 2021-12-25 03:52:32 +01:00 committed by GitHub
parent c60fecf63b
commit c94d77da61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 5 deletions

View File

@ -1,15 +1,23 @@
cask "helo" do
version "1.6.2"
sha256 "a22704a4b8f5bc13a9f1c8f6e893657576c20308fe7372ae87306d58d70dca48"
arch = Hardware::CPU.intel? ? "" : "-arm64"
livecheck_arch = Hardware::CPU.intel? ? "mac" : "apple-silicon"
url "https://helo.fra1.digitaloceanspaces.com/helo/HELO-#{version}.dmg",
verified: "helo.fra1.digitaloceanspaces.com"
version "1.6.2"
if Hardware::CPU.intel?
sha256 "a22704a4b8f5bc13a9f1c8f6e893657576c20308fe7372ae87306d58d70dca48"
else
sha256 "b1ef0c2c300d7c644f91cfc664bb28b3066b86257984b0407b52dd0e7ed59d0d"
end
url "https://helo.fra1.digitaloceanspaces.com/helo/HELO-#{version}#{arch}.dmg",
verified: "helo.fra1.digitaloceanspaces.com/helo/"
name "HELO"
desc "Email tester and debugger"
homepage "https://usehelo.com/"
livecheck do
url "https://usehelo.com/download/latest/mac"
url "https://usehelo.com/download/latest/#{livecheck_arch}"
strategy :header_match
end