homebrew-cask/Casks/gifox.rb

25 lines
914 B
Ruby

cask "gifox" do
version "2.2.5,020205.01"
sha256 "30448da3b7473c6628c635075a5fc079d859a925c1def651aa628964cfc97335"
url "https://d3si16icyi9iar.cloudfront.net/gifox/#{version.after_comma}.dmg",
verified: "d3si16icyi9iar.cloudfront.net/gifox/"
appcast "https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://gifox.io/download/latest",
must_contain: version.after_comma
name "gifox"
desc "App to record the screen"
homepage "https://gifox.io/"
app "Gifox.app"
uninstall launchctl: "com.gifox.gifox#{version.major}.agent",
quit: "com.gifox.gifox#{version.major}"
zap trash: [
"~/Library/Application Support/Gifox #{version.major}",
"~/Library/Caches/com.gifox.gifox#{version.major}",
"~/Library/Cookies/com.gifox.gifox#{version.major}.binarycookies",
"~/Library/Preferences/com.gifox.gifox#{version.major}.plist",
]
end