homebrew-cask/Casks/t/transmission.rb

33 lines
1.2 KiB
Ruby

cask "transmission" do
version "4.0.6"
sha256 "e69857f152e0c2f5384cc603586c3dff2c30c93e674263346a702863e7277c1a"
url "https://github.com/transmission/transmission/releases/download/#{version}/Transmission-#{version}.dmg",
verified: "github.com/transmission/transmission/"
name "Transmission"
desc "Open-source BitTorrent client"
homepage "https://transmissionbt.com/"
livecheck do
url :url
strategy :github_latest
end
auto_updates true
conflicts_with cask: "transmission@nightly"
app "Transmission.app"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.m0k.transmission.sfl*",
"~/Library/Application Support/Transmission",
"~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/org.m0k.transmission.help",
"~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/Transmission Help*",
"~/Library/Caches/org.m0k.transmission",
"~/Library/Cookies/org.m0k.transmission.binarycookies",
"~/Library/Preferences/org.m0k.transmission.LSSharedFileList.plist",
"~/Library/Preferences/org.m0k.transmission.plist",
"~/Library/Saved Application State/org.m0k.transmission.savedState",
]
end