homebrew-cask/Casks/c/codekit.rb

28 lines
874 B
Ruby

cask "codekit" do
version "3.27,34576"
sha256 "441993bff13e58c7a445f1edecbcb1c1a0f329f05ed3bd0a7aba404c941a75aa"
url "https://codekitapp.com/binaries/codekit-#{version.csv.second}.zip"
name "CodeKit"
desc "App for building websites"
homepage "https://codekitapp.com/"
livecheck do
url "https://codekitapp.com/api/#{version.major}/appcast.xml"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :catalina"
app "CodeKit.app"
zap trash: [
"~/Library/Application Support/com.incident57.CodeKit#{version.major}",
"~/Library/Caches/com.incident57.CodeKit#{version.major}",
"~/Library/Cookies/com.incident57.CodeKit#{version.major}.binarycookies",
"~/Library/Preferences/com.incident57.CodeKit#{version.major}.plist",
"~/Library/Saved Application State/com.incident57.CodeKit#{version.major}.savedState",
]
end