homebrew-cask/Casks/joplin.rb

21 lines
854 B
Ruby

cask 'joplin' do
version '0.10.61'
sha256 'f9b2cb25e03785ad3c501f8d8296a178d4df3c307cbd0602f9d776cc6dd64e5e'
# github.com/laurent22/joplin was verified as official when first introduced to the cask
url "https://github.com/laurent22/joplin/releases/download/v#{version}/Joplin-#{version}.dmg"
appcast 'https://github.com/laurent22/joplin/releases.atom',
checkpoint: '289b543c7a8345eab3a0b688ddb6727d7306870f05303562b1c84a82de5dd5ec'
name 'Joplin'
homepage 'http://joplin.cozic.net/'
app 'Joplin.app'
zap trash: [
'~/Library/Application Support/Joplin',
'~/Library/Preferences/net.cozic.joplin-desktop.helper.plist',
'~/Library/Preferences/net.cozic.joplin-desktop.plist',
'~/Library/Saved Application State/net.cozic.joplin-desktop.savedState',
]
end