homebrew-cask/Casks/kaleidoscope.rb

26 lines
1004 B
Ruby

cask "kaleidoscope" do
version "2.3.6,1447-jan-18-2021"
sha256 "81afa75197f5190d15c1bb41fa8c883e71538bdbe7734d156aa9f0952f530677"
url "https://updates.kaleidoscope.app/v2/prod/Kaleidoscope-#{version.before_comma}-build-#{version.after_comma}.app.zip",
verified: "updates.kaleidoscope.app/"
appcast "https://updates.kaleidoscope.app/v2/prod/appcast"
name "Kaleidoscope"
desc "Spots differences in text and image files"
homepage "https://www.kaleidoscopeapp.com/"
auto_updates true
depends_on macos: ">= :sierra"
app "Kaleidoscope.app"
binary "#{appdir}/Kaleidoscope.app/Contents/Resources/bin/ksdiff"
zap trash: [
"~/Library/Application Support/com.blackpixel.kaleidoscope",
"~/Library/Caches/com.blackpixel.kaleidoscope",
"~/Library/Caches/com.plausiblelabs.crashreporter.data/com.blackpixel.kaleidoscope",
"~/Library/Preferences/com.blackpixel.kaleidoscope.plist",
"~/Library/Saved Application State/com.blackpixel.kaleidoscope.savedState",
]
end