espanso/scripts/resources/macos/formula_template.rb
2022-01-12 21:27:40 +01:00

19 lines
516 B
Ruby

cask "espanso" do
version "{{{VERSION}}}"
if Hardware::CPU.intel?
url "https://github.com/federico-terzi/espanso/releases/download/v#{version}/Espanso-Mac-Intel.zip"
sha256 "{{{INTEL_SHA}}}"
else
url "https://github.com/federico-terzi/espanso/releases/download/v#{version}/Espanso-Mac-M1.zip"
sha256 "{{{M1_SHA}}}"
end
name "Espanso"
desc "A Privacy-first, Cross-platform Text Expander"
homepage "https://espanso.org/"
app "Espanso.app"
zap trash: "~/Library/Caches/espanso"
end