homebrew-cask/Casks/c/conferences.rb

30 lines
983 B
Ruby

cask "conferences" do
version "0.0.1-alpha22"
sha256 "61cd7c47ecc718613c9e1ba803ae36e26c37c98bb6a46b5ced2898942c9771a5"
url "https://github.com/zagahr/Conferences.digital/releases/download/#{version}/Conferences_v#{version}.zip"
name "Conferences.digital"
desc "App to watch conference videos"
homepage "https://github.com/zagahr/Conferences.digital"
livecheck do
url "https://zagahr.github.io/Conferences.digital/appcast.xml"
strategy :sparkle do |item|
item.url[/_v(\d+(?:\.\d+)*-.*?)\.zip/i, 1]
end
end
depends_on macos: ">= :mojave"
app "Conferences.app"
zap trash: [
"~/Library/Application Support/digital.conferences.macos",
"~/Library/Caches/digital.conferences.macos",
"~/Library/HTTPStorages/digital.conferences.macos",
"~/Library/Preferences/digital.conferences.macos.plist",
"~/Library/Saved Application State/digital.conferences.macos.savedState",
"~/Library/WebKit/digital.conferences.macos",
]
end