homebrew-cask/Casks/p/paletro.rb

32 lines
1005 B
Ruby

cask "paletro" do
version "1.9.0"
sha256 "1c103e2d77d39d1ea7304879f9464a143baa42021fcd30da6637abad75ef7cf5"
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/io.appmakes.Paletro",
"~/Library/Application Support/Paletro Preferences",
"~/Library/Application Support/Paletro",
"~/Library/Containers/io.appmakes.PaletroLaunchHelper",
"~/Library/Cookies/io.appmakes.Paletro.binarycookies",
"~/Library/Group Containers/io.appmakes.Paletro.shared",
"~/Library/Preferences/io.appmakes.Paletro.plist",
"~/Library/Preferences/io.appmakes.Paletro.Preferences.plist",
]
end