homebrew-cask/Casks/motrix.rb

21 lines
745 B
Ruby

cask 'motrix' do
version '1.3.8'
sha256 'c92a21627f36dd7f0c86147e7fb51c47dedc0d81f78f82e2306fa739334e45dd'
# github.com was verified as official when first introduced to the cask
url "https://github.com/agalwood/Motrix/releases/download/v#{version}/Motrix-#{version}.dmg"
appcast 'https://github.com/agalwood/Motrix/releases.atom'
name 'Motrix'
homepage 'https://motrix.app/'
app 'Motrix.app'
zap trash: [
'~/Library/Application Support/Motrix',
'~/Library/Preferences/net.agalwood.Motrix.plist',
'~/Library/Saved Application State/net.agalwood.Motrix.savedState',
'~/Library/Logs/Motrix',
'~/Library/Caches/net.agalwood.Motrix',
]
end