homebrew-cask/Casks/c0re100-qbittorrent.rb

29 lines
864 B
Ruby

cask "c0re100-qbittorrent" do
version "4.3.9.10"
sha256 "5f12859b473341429cb3b6480285dfe67b53a836b89f408c55362e2283365fa8"
url "https://github.com/c0re100/qBittorrent-Enhanced-Edition/releases/download/release-#{version}/qBittorrent-#{version}.dmg"
name "qBittorrent Enhanced Edition"
desc "Bittorrent client"
homepage "https://github.com/c0re100/qBittorrent-Enhanced-Edition"
livecheck do
url :url
strategy :git
regex(/^release-(\d+(?:\.\d+)+)$/i)
end
depends_on macos: ">= :sierra"
app "qbittorrent.app"
zap trash: [
"~/.config/qBittorrent",
"~/Library/Application Support/qBittorrent",
"~/Library/Caches/qBittorrent",
"~/Library/Preferences/org.qbittorrent.qBittorrent.plist",
"~/Library/Preferences/qBittorrent",
"~/Library/Saved Application State/org.qbittorrent.qBittorrent.savedState",
]
end