homebrew-cask/Casks/insomnia.rb

26 lines
1.0 KiB
Ruby

cask 'insomnia' do
version '5.14.9'
sha256 '5e763a88343bfb48c9a153110e96d5ce24ac3b28b7bc14beb9fe01912cbd52ec'
# github.com/getinsomnia/insomnia was verified as official when first introduced to the cask
url "https://github.com/getinsomnia/insomnia/releases/download/v#{version}/Insomnia-#{version}.dmg"
appcast 'https://insomnia.rest/changelog/index.xml',
checkpoint: '1d1c9383e1f2740b15e89e5175df84ad204568f9edece1c4fa388ff59bb7901a'
name 'Insomnia'
homepage 'https://insomnia.rest/'
auto_updates true
app 'Insomnia.app'
zap trash: [
'~/Library/Application Support/Insomnia',
'~/Library/Caches/com.insomnia.app',
'~/Library/Caches/com.insomnia.app.ShipIt',
'~/Library/Cookies/com.insomnia.app.binarycookies',
'~/Library/Preferences/com.insomnia.app.helper.plist',
'~/Library/Preferences/com.insomnia.app.plist',
'~/Library/Saved Application State/com.insomnia.app.savedState',
]
end