23 lines
904 B
Ruby
23 lines
904 B
Ruby
cask "gifox" do
|
|
version "2.2.1,020201.00"
|
|
sha256 "7d79c78c5af3ddb04cb3dc6970b7358ae5169f323cea16ef7c6acc4d14239dc8"
|
|
|
|
# d3si16icyi9iar.cloudfront.net/gifox/ was verified as official when first introduced to the cask
|
|
url "https://d3si16icyi9iar.cloudfront.net/gifox/#{version.after_comma}.dmg"
|
|
appcast "https://www.macupdater.net/cgi-bin/extract_text/download_with_useragent.cgi?url=https://api.gifox.io/appcast?prereleases=false"
|
|
name "gifox"
|
|
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
|