homebrew-cask/Casks/mate-translate.rb

25 lines
652 B
Ruby

cask "mate-translate" do
version "8.1.8,3055"
sha256 :no_check
url "https://gikken.co/mate/MateTranslate.dmg",
verified: "gikken.co/mate/"
name "Mate Translate"
desc "Select text in any app and translate it"
homepage "https://twopeoplesoftware.com/mate"
livecheck do
url "https://gikken.co/mate/appcast.xml"
strategy :sparkle
end
depends_on macos: ">= :high_sierra"
app "Mate Translate.app"
zap trash: [
"~/Library/Application Scripts/com.twopeoplesoftware.InstantTranslate-nomas.Mate-Translate-Safari",
"~/Library/Containers/com.twopeoplesoftware.InstantTranslate-nomas.Mate-Translate-Safari",
]
end