homebrew-cask/Casks/r/reverso.rb

30 lines
1.0 KiB
Ruby

cask "reverso" do
version "2.10.0,481"
sha256 "30bdeb4b30965e215759391d6eadbc531d6e34520458370a565004064bc27123"
url "https://cdn.reverso.net/download/reverso/desktop/macos/distrib/Reverso_#{version.csv.first}.#{version.csv.second}.zip"
name "Reverso"
desc "Text translation application"
homepage "https://context.reverso.net/translation/windows-mac-app"
livecheck do
url "https://cdn.reverso.net/download/reverso/desktop/macos/appcast.xml"
strategy :sparkle
end
auto_updates true
app "Reverso.app"
uninstall quit: "com.softissimo.ReversoContext.macosapp"
zap trash: [
"~/Library/Application Scripts/com.softissimo.ReversoContext.*",
"~/Library/Application Scripts/group.com.softissimo.ReversoExchange",
"~/Library/Caches/com.softissimo.ReversoContext.macosapp",
"~/Library/Containers/com.softissimo.ReversoContext.*",
"~/Library/Group Containers/group.com.softissimo.ReversoExchange",
"~/Library/Preferences/com.softissimo.ReversoContext.macosapp.plist",
]
end