homebrew-cask/Casks/session.rb

20 lines
809 B
Ruby

cask 'session' do
version '1.0.6'
sha256 '04128f0e2ba8568ffde61a68ddf27b8753064823683ab9fa9889857bc27fb98e'
# github.com/loki-project/session-desktop was verified as official when first introduced to the cask
url "https://github.com/loki-project/session-desktop/releases/download/v#{version}/session-messenger-desktop-mac-#{version}.dmg"
appcast 'https://github.com/loki-project/session-desktop/releases.atom'
name 'Session'
homepage 'https://getsession.org/'
app 'Session.app'
zap trash: [
'~/Library/Application Support/Session',
'~/Library/Caches/Session',
'~/Library/Preferences/com.loki-project.messenger-desktop.plist',
'~/Library/Saved Application State/com.loki-project.messenger-desktop.savedState',
]
end