homebrew-cask/Casks/torrent-file-editor.rb

23 lines
1.1 KiB
Ruby

cask 'torrent-file-editor' do
version '0.3.15'
sha256 'c9bc197b7541505ac6223def15cff87d00ec5983d1d6b00311646d4b15af0b5d'
# github.com/torrent-file-editor/torrent-file-editor was verified as official when first introduced to the cask
url "https://github.com/torrent-file-editor/torrent-file-editor/releases/download/v#{version}/torrent-file-editor-#{version}.dmg"
appcast 'https://github.com/torrent-file-editor/torrent-file-editor/releases.atom'
name 'Torrent File Editor'
homepage 'https://torrent-file-editor.github.io/'
depends_on macos: '>= :sierra'
app 'Torrent File Editor.app'
zap trash: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/net.sourceforge.torrent-file-editor.sfl*',
'~/Library/Caches/net.sourceforge.torrent-file-editor',
'~/Library/Cookies/net.sourceforge.torrent-file-editor.binarycookies',
'~/Library/Preferences/net.sourceforge.torrent-file-editor.plist',
'~/Library/Saved Application State/net.sourceforge.torrent-file-editor.savedState',
]
end