24 lines
715 B
Ruby
24 lines
715 B
Ruby
cask "pixelsnap" do
|
|
version "2.4.2"
|
|
sha256 "8223e4a15396d9ba3daaf95fddb38514761c9c7b86d75c9ff3404cd95779dd68"
|
|
|
|
url "https://updates.getpixelsnap.com/v#{version.major}/PixelSnap-#{version.major}-#{version}.dmg"
|
|
appcast "https://updates.getpixelsnap.com/v#{version.major}/appcast.xml"
|
|
name "PixelSnap"
|
|
desc "Screen measuring tool"
|
|
homepage "https://getpixelsnap.com/"
|
|
|
|
auto_updates true
|
|
|
|
app "PixelSnap #{version.major}.app"
|
|
|
|
uninstall quit: "pl.maketheweb.pixelsnap2"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/PixelSnap",
|
|
"~/Library/Caches/SentryCrash/PixelSnap 2",
|
|
"~/Library/Caches/pl.maketheweb.pixelsnap2",
|
|
"~/Library/Preferences/pl.maketheweb.pixelsnap2.plist",
|
|
]
|
|
end
|