homebrew-cask/Casks/http-toolkit.rb

22 lines
903 B
Ruby

cask 'http-toolkit' do
version '0.1.22'
sha256 '85c4b4252a581d79ac01cf1e9ba8e08ea2edba663a20d7869925056a4e117cf8'
# github.com/httptoolkit/httptoolkit-desktop/ was verified as official when first introduced to the cask
url "https://github.com/httptoolkit/httptoolkit-desktop/releases/download/v#{version}/HTTP.Toolkit.dmg"
appcast 'https://github.com/httptoolkit/httptoolkit-desktop/releases.atom'
name 'HTTP Toolkit'
homepage 'https://httptoolkit.tech/'
app 'HTTP Toolkit.app'
zap trash: [
'~/Library/Application Support/HTTP Toolkit',
'~/Library/Caches/httptoolkit-server',
'~/Library/Logs/HTTP Toolkit',
'~/Library/Preferences/httptoolkit',
'~/Library/Preferences/tech.httptoolkit.desktop.plist',
'~/Library/Saved Application State/tech.httptoolkit.desktop.savedState',
]
end