homebrew-cask/Casks/paletro.rb

32 lines
1005 B
Ruby

cask "paletro" do
version "1.7.0"
sha256 "2de7743a162344a3a8179c2253a5ac2cc6300805547227dcad06c529df0c28b1"
url "https://appmakes.io/paletro/download/Paletro-#{version}.dmg"
name "Paletro"
desc "Command palette in any application"
homepage "https://appmakes.io/paletro"
livecheck do
url "https://appmakes.io/paletro/update.xml"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :mojave"
app "Paletro.app"
zap trash: [
"~/Library/Application Scripts/io.appmakes.PaletroLaunchHelper",
"~/Library/Application Support/Paletro",
"~/Library/Application Support/Paletro Preferences",
"~/Library/Application Support/io.appmakes.Paletro",
"~/Library/Containers/io.appmakes.PaletroLaunchHelper",
"~/Library/Cookies/io.appmakes.Paletro.binarycookies",
"~/Library/Group Containers/io.appmakes.Paletro.shared",
"~/Library/Preferences/io.appmakes.Paletro.Preferences.plist",
"~/Library/Preferences/io.appmakes.Paletro.plist",
]
end