homebrew-cask/Casks/pagico.rb

30 lines
896 B
Ruby
Executable File

cask "pagico" do
version "10,20230315"
sha256 "b687a73793ff3849f76931991c2a8f6f62f8540a972c510e1c504f55d4b4849b"
url "https://www.pagico.com/downloads/Pagico_macOS_r#{version.csv.second}.dmg"
name "Pagico"
desc "Manage all your tasks, files, and notes"
homepage "https://www.pagico.com/"
livecheck do
url "https://www.pagico.com/api/pagico#{version.major}.macOS.xml"
strategy :sparkle
end
depends_on macos: ">= :el_capitan"
app "Pagico.app"
zap trash: [
"~/Library/Application Scripts/com.pagico.mac.Pagico-Extension-for-Safari",
"~/Library/Application Support/Pagico",
"~/Library/Caches/com.pagico.mac",
"~/Library/Containers/com.pagico.mac.Pagico-Extension-for-Safari",
"~/Library/HTTPStorages/com.pagico.mac",
"~/Library/PagicoHelpers",
"~/Library/Preferences/com.pagico.mac.plist",
"~/Library/WebKit/com.pagico.mac",
]
end