homebrew-cask/Casks/gitfox.rb

38 lines
1.4 KiB
Ruby

cask "gitfox" do
version "3.4.3,8058"
sha256 "8137e0b225666744d6949f7c0986cd675b64b978587ba869d881ab46fd5b651b"
url "https://storage.googleapis.com/gitfox/builds/retail/#{version.csv.second}/Gitfox.#{version.csv.second}.zip",
verified: "storage.googleapis.com/gitfox/"
name "Gitfox"
desc "Git client"
homepage "https://www.gitfox.app/"
livecheck do
url "https://storage.googleapis.com/gitfox/Gitfox.latest.stable.zip"
strategy :extract_plist
end
auto_updates true
depends_on macos: ">= :big_sur"
app "Gitfox.app"
binary "#{appdir}/Gitfox.app/Contents/SharedSupport/bin/gitfox-cli", target: "gitfox"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.bytieful.gitfox-retail.sfl2",
"~/Library/Application Support/com.bytieful.Gitfox",
"~/Library/Application Support/com.bytieful.Gitfox-retail",
"~/Library/Application Support/Gitfox",
"~/Library/Caches/com.bytieful.Gitfox",
"~/Library/Caches/com.bytieful.Gitfox-retail",
"~/Library/Caches/com.crashlytics.data/com.bytieful.Gitfox",
"~/Library/HTTPStorages/com.bytieful.Gitfox-retail",
"~/Library/Preferences/com.bytieful.Gitfox.*",
"~/Library/Preferences/com.bytieful.Gitfox-retail.plist",
"~/Library/Saved Application State/com.bytieful.Gitfox-retail.savedState",
"~/Library/WebKit/com.bytieful.Gitfox",
"~/Library/WebKit/com.bytieful.Gitfox-retail",
]
end