30 lines
1.0 KiB
Ruby
30 lines
1.0 KiB
Ruby
cask "reverso" do
|
|
version "2.8.1,423"
|
|
sha256 "34e139a6cb04f1cf3a0895c6d136c058e93b33a6be86332f65e9ad010d421102"
|
|
|
|
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
|